Options
All
  • Public
  • Public/Protected
  • All
Menu

Class NoOpDebugLogger

NoOpDebugLogger does not log any message but does call debug functions by default.

Hierarchy

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

Generated using TypeDoc