Interface Logger

Hierarchy

  • Logger

Constructors

  • Parameters

    • name: string

    Returns log4js.Logger

Properties

callStackLinesToSkip: number

Adjust the value of linesToSkip when the parseFunction is called.

Cannot be less than 0.

category: string
level: string | Level

Methods

  • Parameters

    Returns void

  • Parameters

    • key: string
    • value: any

    Returns void

  • Returns void

  • Parameters

    • message: any
    • Rest ...args: any[]

    Returns void

  • Parameters

    • message: any
    • Rest ...args: any[]

    Returns void

  • Parameters

    • message: any
    • Rest ...args: any[]

    Returns void

  • Parameters

    • message: any
    • Rest ...args: any[]

    Returns void

  • Returns boolean

  • Returns boolean

  • Returns boolean

  • Returns boolean

  • Parameters

    • Optional level: string

    Returns boolean

  • Returns boolean

  • Returns boolean

  • Parameters

    • level: string | Level
    • Rest ...args: any[]

    Returns void

  • Parameters

    • message: any
    • Rest ...args: any[]

    Returns void

  • Parameters

    • key: string

    Returns void

  • Replace the basic parse function with a new custom one

    • Note that linesToSkip will be based on the origin of the Error object in addition to the callStackLinesToSkip (at least 1)

    Parameters

    • parseFunction: ((error: Error, linesToSkip: number) => undefined | CallStack)

      the new parseFunction. Use undefined to reset to the base implementation

        • (error: Error, linesToSkip: number): undefined | CallStack
        • Parameters

          • error: Error
          • linesToSkip: number

          Returns undefined | CallStack

    Returns void

  • Parameters

    • message: any
    • Rest ...args: any[]

    Returns void

  • Parameters

    • message: any
    • Rest ...args: any[]

    Returns void

Generated using TypeDoc