Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Logger

Logger.

Hierarchy

  • Logger

Index

Methods

childLogger

  • childLogger(name: string): Logger

debug

  • debug(...message: any[]): void
  • Log messages using debug level.

    Parameters

    • Rest ...message: any[]

      Messages to log

    Returns void

debugObject

  • 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

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

    Parameters

    • message: string

      Message to log

    • text: string

      Text to log

    Returns void

error

  • error(...message: any[]): void
  • Log messages using error level.

    Parameters

    • Rest ...message: any[]

      Messages to log

    Returns void

info

  • info(...message: any[]): void
  • Log messages using info level.

    Parameters

    • Rest ...message: any[]

      Messages to log

    Returns void

infoObject

  • 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

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

    Parameters

    • message: string

      Message to log

    • text: string

      Text to log

    Returns void

trace

  • trace(...message: any[]): void
  • Log messages using trace level.

    Parameters

    • Rest ...message: any[]

      Messages to log

    Returns void

traceObject

  • 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

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

    Parameters

    • message: string

      Message to log

    • text: string

      Text to log

    Returns void

warn

  • warn(...message: any[]): void
  • Log messages using warn level.

    Parameters

    • Rest ...message: any[]

      Messages to log

    Returns void

warnObject

  • 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

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

    Parameters

    • message: string

      Message to log

    • text: string

      Text to log

    Returns void

Generated using TypeDoc