Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MockLogger

Hierarchy

  • MockLogger

Implements

Index

Methods

child

debug

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

error

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

fatal

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

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: string | 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: string | Loggable | Error, ...params: any[]): Promise<void>

setLogLevel

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

trace

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

warn

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