Skip to main content

LoggerParams interface

The options of the Logger constructor.

Signature​

export interface LoggerParams<C extends LoggerConsole = Console>

Properties​

Property

Modifiers

Type

Description

console?

C | undefined

(Optional) The underlying console object used to log the message.

level?

LogLevel | undefined

(Optional) The name of the log level.

timestamp?

boolean | undefined

(Optional) Whether the diagnostic messages start with a timestamp.


Generated via tsdoc2docusaurus 1.3.2 by API Extractor/Documenter 7.60.1.