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