toValue method

String toValue()

Implementation

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