showLevelSymbolInsteadOfLabel property
Whether to show LogLevel.labelAsSymbol
instead of LogLevel.label
.
If false
(default), shows the descriptive label of the log level.
If true
, shows the short symbol representation of the log level.
However, this setting has no affect for LogLevels.fatal
as this level
is meant to convey very critical faults and hence the descriptive label is
used to prevent confusion.
Implementation
static bool showLevelSymbolInsteadOfLabel = false;