TalkerLoggerSettings constructor

TalkerLoggerSettings({
  1. Map<LogLevel, AnsiPen>? colors,
  2. String defaultTitle = 'LOG',
  3. LogLevel level = LogLevel.verbose,
  4. String lineSymbol = '─',
  5. int maxLineWidth = 110,
  6. bool enableColors = true,
})

Implementation

TalkerLoggerSettings({
  Map<LogLevel, AnsiPen>? colors,
  this.defaultTitle = 'LOG',
  this.level = LogLevel.verbose,
  this.lineSymbol = '─',
  this.maxLineWidth = 110,
  this.enableColors = true,
}) {
  if (colors != null) {
    _defaultColors.addAll(colors);
  }
  this.colors.addAll(_defaultColors);
}