toValue method
Implementation
String toValue() {
switch (this) {
case LogLevel.info:
return 'INFO';
case LogLevel.warn:
return 'WARN';
case LogLevel.error:
return 'ERROR';
case LogLevel.debug:
return 'DEBUG';
}
}