Stores additional data that flow through given scope and get appended to all log entries inside. There must be only one scope instance so that scoped data flow accross loggers of various app components.

Hierarchy

  • LoggerScope

Constructors

Methods

Constructors

Methods

  • Type Parameters

    • TResult

    Parameters

    • data: LogData
    • scopeFunc: (() => TResult)
        • (): TResult
        • Returns TResult

    Returns TResult

Generated using TypeDoc