Options
All
  • Public
  • Public/Protected
  • All
Menu

Class NoOpLogger

NoOpLogger does not log any message.

Hierarchy

Implements

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

level

level: LogLevel

Methods

debug

  • debug(debugFunction: string | (() => string)): void
  • Calls [[debugFunction]] only if the log level is debug and emits the resulting string. Use the debug level to dump large or verbose messages that could slow down performance.

    Parameters

    • debugFunction: string | (() => string)

    Returns void

error

  • error(_msg: string): void

getLogLevel

info

  • info(_msg: string): void

setLogLevel

warn

  • warn(_msg: string): void
  • Emits a warning message if the log level is equal to or lower than warn level.

    Parameters

    • _msg: string

    Returns void

Generated using TypeDoc