Import std.log.level
ParseLogLevel
function
Public Function ParseLogLevel(text: String): LogLevel?
The level a name says, in any letter case: "trace", "debug", "info", "warn" or "warning", "error", or "off". Null for anything else.
Examples
Expect(ParseLogLevel("Warning") == LogLevel.WARN)
Expect(ParseLogLevel("loud") == Null)Report an issue with this page or with FutureBlitz on GitHub.