str property

String get str

Implementation

String get str {
  switch (this) {
    case LogLevel.info:
      return 'INFO';
    case LogLevel.error:
      return 'ERROR';
  }
}