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(): error

error

  • get error(): error

info

  • get info(): error

warning

  • get warning(): error

Methods

Private log

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

    Parameters

    • level: LEVEL

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

    Returns error

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

Generated using TypeDoc