LoggerLogging class final

Default logger using logging package

Inheritance

Constructors

LoggerLogging.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
logs Stream<LogMessage>
Stream of logs
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

debug(String message) → void
Logs the debug to the console
override
error(String message, {Object? error, StackTrace? stackTrace}) → void
Logs the error to the console
override
info(String message) → void
Logs the info to the console
override
logFlutterError(FlutterErrorDetails details) → void
Handy method to log FlutterError
inherited
logPlatformDispatcherError(Object error, StackTrace stackTrace) bool
Handy method to log PlatformDispatcher error
inherited
logZoneError(Object error, StackTrace stackTrace) → void
Handy method to log zoneError
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
runLogging<L>(L fn(), [LogOptions options = const LogOptions()]) → L
Set up the logger
override
toString() String
A string representation of this object.
inherited
verbose(String message) → void
Logs the verbose to the console
override
warning(String message) → void
Logs the warning to the console
override

Operators

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