TalkerLogger class

Constructors

TalkerLogger({TalkerLoggerSettings? settings, LoggerFormatter formatter = const ExtendedLoggerFormatter(), LoggerFilter? filter, void output(String message)?})

Properties

formatter LoggerFormatter
You can setup different formatter ExtendedLoggerFormatter, ColoredLoggerFormatter Or your own fully customized formatter with extends LoggerFormatter
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
settings TalkerLoggerSettings
Logger settings
latefinal

Methods

copyWith({TalkerLoggerSettings? settings, LoggerFormatter? formatter, LoggerFilter? filter, dynamic output(String message)?}) TalkerLogger
Log a new good message String msg - message describes what happened
critical(dynamic msg) → void
Log a new critical message String msg - message describes what happened
debug(dynamic msg) → void
Log a new debug message String msg - message describes what happened
error(dynamic msg) → void
Log a new error message String msg - message describes what happened
info(dynamic msg) → void
Log a new info message String msg - message describes what happened
log(dynamic msg, {LogLevel? level, AnsiPen? pen}) → void
Log a new custom message String msg - message describes what happened LogLevel level - level of logs to segmentation фтв control logging output AnsiPen pen - console pen to setting log color
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
verbose(dynamic msg) → void
Log a new verbose message String msg - message describes what happened
warning(dynamic msg) → void
Log a new warning message String msg - message describes what happened

Operators

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