Interface TkmLogger

Logger.

Hierarchy

  • TkmLogger

Properties

logLevel: LogLevel

Methods

  • Log messages using debug level.

    Parameters

    • Rest ...message: any[]

      Messages to log

    Returns void

  • Log formatted object using debug level.

    Parameters

    • message: string

      Message to log

    • obj: any

      Object to log

    Returns void

  • Log formatted object using debug level.

    Parameters

    • message: string

      Message to log

    • obj: any

      Object to log

    • filterFn: ((obj: any) => any)

      Function to filter the logged object

        • (obj: any): any
        • Parameters

          • obj: any

          Returns any

    Returns void

  • Log longer text using debug level.

    Parameters

    • message: string

      Message to log

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

      Text to log

    Returns void

  • Log messages using error level.

    Parameters

    • Rest ...message: any[]

      Messages to log

    Returns void

  • Log messages using info level.

    Parameters

    • Rest ...message: any[]

      Messages to log

    Returns void

  • Log formatted object using info level.

    Parameters

    • message: string

      Message to log

    • obj: any

      Object to log

    Returns void

  • Log formatted object using info level.

    Parameters

    • message: string

      Message to log

    • obj: any

      Object to log

    • filterFn: ((obj: any) => any)

      Function to filter the logged object

        • (obj: any): any
        • Parameters

          • obj: any

          Returns any

    Returns void

  • Log longer text using info level.

    Parameters

    • message: string

      Message to log

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

      Text to log

    Returns void

  • Log messages using trace level.

    Parameters

    • Rest ...message: any[]

      Messages to log

    Returns void

  • Log formatted object using trace level.

    Parameters

    • message: string

      Message to log

    • obj: any

      Object to log

    Returns void

  • Log formatted object using trace level.

    Parameters

    • message: string

      Message to log

    • obj: any

      Object to log

    • filterFn: ((obj: any) => any)

      Function to filter the logged object

        • (obj: any): any
        • Parameters

          • obj: any

          Returns any

    Returns void

  • Log longer text using trace level.

    Parameters

    • message: string

      Message to log

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

      Text to log

    Returns void

  • Log messages using warn level.

    Parameters

    • Rest ...message: any[]

      Messages to log

    Returns void

  • Log formatted object using warn level.

    Parameters

    • message: string

      Message to log

    • obj: any

      Object to log

    Returns void

  • Log formatted object using warn level.

    Parameters

    • message: string

      Message to log

    • obj: any

      Object to log

    • filterFn: ((obj: any) => any)

      Function to filter the logged object

        • (obj: any): any
        • Parameters

          • obj: any

          Returns any

    Returns void

  • Log longer text using warn level.

    Parameters

    • message: string

      Message to log

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

      Text to log

    Returns void

Generated using TypeDoc