Class LoggerConfiguration

Logger configuration that can be used to configure loggers The configuration is used to configure the sinks, filters, formatters and enrichers that are used by the logger

Constructors

Methods

  • Writes a log event to the configured sinks after processing it with the configured pipelines level: The level of the log event message: The message of the log event properties: The properties of the log event exception: The exception of the log event

    Parameters

    • level: LogLevel
    • message: string
    • Optionalproperties: {
          [key: string]: any;
      }
      • [key: string]: any
    • Optionalexception: Error

    Returns void