name property

String get name

Returns the string representation of the log level.

Implementation

String get name => toString().split('.').last.toUpperCase();