Options
All
  • Public
  • Public/Protected
  • All
Menu

Class NoopLogger

Hierarchy

  • Logger
  • Logger
  • Logger
    • NoopLogger

Implements

  • LoggerService
  • LoggerService
  • LoggerService

Index

Constructors

constructor

  • new NoopLogger(context?: string, isTimestampEnabled?: boolean): NoopLogger

Properties

Protected Optional context

context: string

Methods

debug

  • debug(message: any, context?: string): void
  • Parameters

    • message: any
    • Optional context: string

    Returns void

error

  • error(message: any, trace?: string, context?: string): void

log

  • log(message: any, context?: string): void

setContext

  • setContext(context: string): void
  • Parameters

    • context: string

    Returns void

verbose

  • verbose(message: any, context?: string): void
  • Parameters

    • message: any
    • Optional context: string

    Returns void

warn

  • warn(message: any, context?: string): void

Static debug

  • debug(message: any, context?: string, isTimeDiffEnabled?: boolean): void
  • Parameters

    • message: any
    • Optional context: string
    • Optional isTimeDiffEnabled: boolean

    Returns void

Static error

  • error(message: any, trace?: string, context?: string, isTimeDiffEnabled?: boolean): void
  • Parameters

    • message: any
    • Optional trace: string
    • Optional context: string
    • Optional isTimeDiffEnabled: boolean

    Returns void

Static log

  • log(message: any, context?: string, isTimeDiffEnabled?: boolean): void
  • Parameters

    • message: any
    • Optional context: string
    • Optional isTimeDiffEnabled: boolean

    Returns void

Static overrideLogger

  • overrideLogger(logger: LoggerService | LogLevel[] | boolean): void

Static verbose

  • verbose(message: any, context?: string, isTimeDiffEnabled?: boolean): void
  • Parameters

    • message: any
    • Optional context: string
    • Optional isTimeDiffEnabled: boolean

    Returns void

Static warn

  • warn(message: any, context?: string, isTimeDiffEnabled?: boolean): void
  • Parameters

    • message: any
    • Optional context: string
    • Optional isTimeDiffEnabled: boolean

    Returns void

Generated using TypeDoc