Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface TkmLogger

Logger.

Hierarchy

  • TkmLogger

Index

Properties

logLevel: LogLevel

Methods

  • debug(...message: any[]): void
  • debugObject(message: string, obj: any): void
  • debugObject(message: string, obj: any, filterFn: ((obj: any) => any)): 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

  • debugText(message: string, text: string | (() => string)): void
  • Log longer text using debug level.

    Parameters

    • message: string

      Message to log

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

      Text to log

    Returns void

  • error(...message: any[]): void
  • info(...message: any[]): void
  • infoObject(message: string, obj: any): void
  • infoObject(message: string, obj: any, filterFn: ((obj: any) => any)): 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

  • infoText(message: string, text: string | (() => string)): void
  • Log longer text using info level.

    Parameters

    • message: string

      Message to log

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

      Text to log

    Returns void

  • trace(...message: any[]): void
  • traceObject(message: string, obj: any): void
  • traceObject(message: string, obj: any, filterFn: ((obj: any) => any)): 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

  • traceText(message: string, text: string | (() => string)): void
  • Log longer text using trace level.

    Parameters

    • message: string

      Message to log

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

      Text to log

    Returns void

  • warn(...message: any[]): void
  • warnObject(message: string, obj: any): void
  • warnObject(message: string, obj: any, filterFn: ((obj: any) => any)): 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

  • warnText(message: string, text: string | (() => string)): void
  • Log longer text using warn level.

    Parameters

    • message: string

      Message to log

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

      Text to log

    Returns void

Generated using TypeDoc