Skip to main content

LogLevel type alias

Type of the strings recognised as valid level names.

Signature​

export type LogLevel = 'silent' | 'error' | 'warn' | 'info' | 'verbose' | 'debug' | 'trace' | 'all';

Remarks​

Internally these strings are converted into numeric values (see Logger.numericLevels), and these numbers are used in comparisons.

Higher values mean more verbosity.

The prefix of the messages of the warn level is warning, but the name of the level is warn, like that of the warn() method.


Generated via tsdoc2docusaurus 1.3.2 by API Extractor/Documenter 7.60.1.