TalkerLoggerSettings constructor

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

Implementation

TalkerLoggerSettings({
  Map<LogLevel, AnsiPen>? colors,
  this.enable = true,
  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);
}