LoggerUnit class

Constructors

LoggerUnit.new({required LogLevel level, required LogFilter filter, required LogFormatter formatter, required LogPrinter printer, dynamic printCallback(LogResult printData)?})

Properties

hashCode int
The hash code for this object.
no setterinherited
init Future<void>
get _init.
no setter
printCallback ↔ dynamic Function(LogResult printData)?
The callback function that runs after the output.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

call(dynamic message, {DateTime? time, Object? error, StackTrace? stackTrace}) Future<LogResult>
Prints the message with additional info.
copyWith({LogLevel? level, LogFilter? filter, LogFormatter? formatter, LogPrinter? printer, dynamic printCallback(LogResult)?}) LoggerUnit
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