formattedLogPrefix method

String formattedLogPrefix(
  1. LogLevel level
)

Implementation

String formattedLogPrefix(LogLevel level) {
  return showEmoji
      ? _levelPrefixes[level] ?? _defaultPrefix
      : _levelName[level] ?? _defaultLevelName;
}