toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case LoggerLevel.debug:
      return 'DEBUG';
    case LoggerLevel.info:
      return 'INFO';
    case LoggerLevel.warn:
      return 'WARN';
    case LoggerLevel.error:
      return 'ERROR';
    case LoggerLevel.fatal:
      return 'FATAL';
  }
}