TalkerLoggerSettings class

Logger customization settings

Constructors

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

Properties

colors Map<LogLevel, AnsiPen>
Field to setup custom log colors
final
defaultTitle String
Title of default log without LogLevel
final
enable bool
Field for enable and disable print logger
getter/setter pair
enableColors bool
Field for enable and disable colored logs
final
hashCode int
The hash code for this object.
no setterinherited
level LogLevel
Current log level All messages with a priority below this will be ignored
final
lineSymbol String
The symbol separating logs by lower border
final
maxLineWidth int
Maximum width of the lower border
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({Map<LogLevel, AnsiPen>? colors, String? defaultTitle, LogLevel? level, String? lineSymbol, int? maxLineWidth, bool? enableColors}) TalkerLoggerSettings
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited