configure static method

void configure({
  1. bool? emojis,
  2. bool? colors,
  3. bool? timestamp,
  4. bool? logLevel,
})

Configure all visual options at once

Implementation

static void configure({
  bool? emojis,
  bool? colors,
  bool? timestamp,
  bool? logLevel,
}) {
  if (emojis != null) _showEmojis = emojis;
  if (colors != null) _showColors = colors;
  if (timestamp != null) _showTimestamp = timestamp;
  if (logLevel != null) _showLogLevel = logLevel;
}