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