Interface LogEventInterceptor

Communication interface between Logger -> LogEventTransport

Hierarchy

  • LogEventInterceptor

Implemented by

Properties

forwardRef: LogEventDelegate

Alternate of interceptEvent that can be passed by value without losing the this context of the interceptor.

Methods

  • Requests a new event instance from this interceptor.

    For the sake of consistency between loggers, it should be left up to the interceptor to generate event instances.

    Parameters

    • level: number
    • tag: string
    • message: string
    • Optional params: any[]
    • Optional timestamp: number

    Returns LogEventLike

Generated using TypeDoc