klyn.logging.LogLevel.parse
method
public static parse(value as String) as LogLevel:
Description

Resolves a case-insensitive textual level.

Parameters
ParameterDescription
valueLevel name such as "info" or "WARNING".
Returns

Corresponding level.

Throws
  • ValueException if the name is unknown.
Example

assert LogLevel.parse("debug") == LogLevel.DEBUG