Skip to main content

LoggerBufferRecord interface

Type of a record stored in the internal buffer.

Signature​

export interface LoggerBufferRecord

Remarks​

The buffer is private; this type is exported only because of the deprecated protected buffer member, and will not be exported in the next major version.

If the logger was constructed without a log level, all initial messages are stored in a buffer, and processed at a later time, when the log level is set.

Each record in the buffer stores the message, the log level and a function to process the message.

Properties​

Property

Modifiers

Type

Description

func

LoggerFunction

The function to be called to log the message.

message

string

The string message to be logged.

numericLevel

NumericLogLevel

The numeric log level at the time of the call.


Generated via tsdoc2docusaurus 1.3.2 by API Extractor/Documenter 7.60.1.