Works with
•JSR Score58%•It is unknown whether this package works with Browsers, Deno, Node.js, Cloudflare Workers, Bun




Published2 years ago (0.215.0)
Functions
f
getLevelByName(name: LevelName): LogLevel
Returns the numeric log level associated with the passed, stringy log level name.
f
getLevelName(level: LogLevel): LevelName
Returns the stringy log level name provided the numeric log level.
Type Aliases
Variables
v
LogLevelNames: LevelName[]
Permitted log level names
v
LogLevels: { NOTSET: number; DEBUG: number; INFO: number; WARN: number; ERROR: number; CRITICAL: number; }
Use this to retrieve the numeric log level by it's associated name. Defaults to INFO.