Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Logger

Hierarchy

  • Logger

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

  • new Logger(logModule: any): Logger
  • Config-aware Logger class.

    Parameters

    • logModule: any

      the logging module name: this is ued to look up the configured/default level in the user config

    Returns Logger

Properties

Private logModule

logModule: any

the logging module name: this is ued to look up the configured/default level in the user config

Accessors

debug

  • get debug(): warn

error

  • get error(): warn

info

  • get info(): warn

warning

  • get warning(): warn

Methods

Private log

  • log(level: LEVEL): warn
  • Config-aware logging function.

    Parameters

    • level: LEVEL

      the level of the logging - if <= configured, the message will be shown

    Returns warn

    logging function: this is returned as a function to retain the call site

Generated using TypeDoc