name property

String get name

Uppercase name of the level (e.g., ERROR, INFO).

Implementation

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