levelEmojis property

Map<LogLevel, String> levelEmojis
final

A mapping between LogLevels and their associated emoji icon.

Emojis provide quick visual cues to identify the severity or type of log messages:

Level Emoji Description
trace 🔍 Fine-grained logs
debug 🐛 Debug messages
info 💡 Informational notes
warning ⚠️ Cautionary messages
error Recoverable issues
fatal 💀 Critical application

These are commonly prepended to log statements for extra clarity.

Implementation

static final levelEmojis = {
  LogLevel.TRACE: '🔍',
  LogLevel.DEBUG: '🐛',
  LogLevel.INFO: '💡',
  LogLevel.WARN: '⚠️',
  LogLevel.ERROR: '❌',
  LogLevel.FATAL: '💀',
};