alias property

String get alias

Returns the alias (display name) for this log level For DevLevel.normal, returns "debug" as the new display name For other levels, returns the enum name as-is

Implementation

String get alias {
  switch (this) {
    case DevLevel.normal:
      return 'debug';
    default:
      return name;
  }
}