Skip to main content

LoggerBufferRecord interface

Warning: This API is now obsolete.

Only the deprecated protected buffer member uses it; it will not be exported in the next major version.

Deprecated 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, the messages of the preliminary state are stored in a buffer, and replayed when the log level is set.

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

  • deprecated in v7.0.0

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.