label property

String get label

The label to represent this log.

Implementation

String get label => switch(this) {
  BurtLogLevel.critical => "[C]",
  BurtLogLevel.error => "[E]",
  BurtLogLevel.warning => "[W]",
  BurtLogLevel.info => "[I]",
  BurtLogLevel.debug => "[D]",
  BurtLogLevel.trace => "[T]",
  _ => "?",
};