Converts a string-based level into a SeverityLevel, normalizing it along the way.
SeverityLevel
String representation of desired SeverityLevel.
The SeverityLevel corresponding to the given string, or 'log' if the string isn't a valid level.
Generated using TypeDoc
Converts a string-based level into a
SeverityLevel
, normalizing it along the way.