toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case LogLevel.off:
      return 'OFF';
    case LogLevel.basic:
      return 'BASIC';
    case LogLevel.transfer:
      return 'TRANSFER';
  }
}