isLogLevel
Function: isLogLevel()
isLogLevel(
level):level is LogLevel
Defined in: logger/levels.ts:35
Type guard to check if a string is a valid LogLevel.
Parameters
level
string
The string to check.
Returns
level is LogLevel
True if the string is a valid LogLevel, false otherwise.