Index
  • 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

logModule: any

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

  • get debug(): (...data: any[]) => void

    Returns (...data: any[]) => void

      • (...data: any[]): void
      • The console.warn() static method outputs a warning message to the console at the "warning" log level. The message is only displayed to the user if the console is configured to display warning output. In most cases, the log level is configured within the console UI. The message may receive special formatting, such as yellow colors and a warning icon.

        MDN Reference

        Parameters

        • ...data: any[]

        Returns void

  • get error(): (...data: any[]) => void

    Returns (...data: any[]) => void

      • (...data: any[]): void
      • The console.warn() static method outputs a warning message to the console at the "warning" log level. The message is only displayed to the user if the console is configured to display warning output. In most cases, the log level is configured within the console UI. The message may receive special formatting, such as yellow colors and a warning icon.

        MDN Reference

        Parameters

        • ...data: any[]

        Returns void

  • get info(): (...data: any[]) => void

    Returns (...data: any[]) => void

      • (...data: any[]): void
      • The console.warn() static method outputs a warning message to the console at the "warning" log level. The message is only displayed to the user if the console is configured to display warning output. In most cases, the log level is configured within the console UI. The message may receive special formatting, such as yellow colors and a warning icon.

        MDN Reference

        Parameters

        • ...data: any[]

        Returns void

  • get warning(): (...data: any[]) => void

    Returns (...data: any[]) => void

      • (...data: any[]): void
      • The console.warn() static method outputs a warning message to the console at the "warning" log level. The message is only displayed to the user if the console is configured to display warning output. In most cases, the log level is configured within the console UI. The message may receive special formatting, such as yellow colors and a warning icon.

        MDN Reference

        Parameters

        • ...data: any[]

        Returns void

  • Config-aware logging function.

    Parameters

    • level: LoggingLevel

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

    Returns (...data: any[]) => void

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

      • (...data: any[]): void
      • The console.warn() static method outputs a warning message to the console at the "warning" log level. The message is only displayed to the user if the console is configured to display warning output. In most cases, the log level is configured within the console UI. The message may receive special formatting, such as yellow colors and a warning icon.

        MDN Reference

        Parameters

        • ...data: any[]

        Returns void