Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Logger

Hierarchy

  • Logger

Implements

Index

Constructors

constructor

Properties

Protected _logLevel

_logLevel: Promise<number>

Protected created

created: Promise<void>

Protected Readonly factory

factory: LoggerFactory

Protected Readonly loggerWatcher

loggerWatcher: LoggerWatcher

Protected name

name: string

Protected Readonly server

Methods

child

debug

  • debug(arg: any | Loggable, ...params: any[]): Promise<void>

error

  • error(arg: any | Loggable, ...params: any[]): Promise<void>

fatal

  • fatal(arg: any | Loggable, ...params: any[]): Promise<void>

Protected format

  • format(value: any): any

Protected getLog

  • getLog(logLevel: number): Promise<Log>

getLogLevel

  • getLogLevel(): Promise<number>

ifDebug

  • ifDebug(): Promise<void>

ifEnabled

  • ifEnabled(logLevel: number): Promise<void>

ifError

  • ifError(): Promise<void>

ifFatal

  • ifFatal(): Promise<void>

ifInfo

  • ifInfo(): Promise<void>

ifTrace

  • ifTrace(): Promise<void>

ifWarn

  • ifWarn(): Promise<void>

info

  • info(arg: any | Loggable, ...params: any[]): Promise<void>

isDebug

  • isDebug(): Promise<boolean>

isEnabled

  • isEnabled(logLevel: number): Promise<boolean>

isError

  • isError(): Promise<boolean>

isFatal

  • isFatal(): Promise<boolean>

isInfo

  • isInfo(): Promise<boolean>

isTrace

  • isTrace(): Promise<boolean>

isWarn

  • isWarn(): Promise<boolean>

log

  • log(logLevel: number, arg2: any | Loggable, ...params: any[]): Promise<void>

setLogLevel

  • setLogLevel(logLevel: number): Promise<void>

trace

  • trace(arg: any | Loggable, ...params: any[]): Promise<void>

warn

  • warn(arg: any | Loggable, ...params: any[]): Promise<void>