toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case LogLevel.all:
      return 'ALL';
    case LogLevel.error:
      return 'ERROR';
    case LogLevel.fatal:
      return 'FATAL';
    case LogLevel.off:
      return 'OFF';
  }
}