Logger class abstract base

Logger interface

Implementers

Constructors

Logger.new()

Properties

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

Methods

debug(String message) → void
Logs the debug to the console
error(String message, {Object? error, StackTrace? stackTrace}) → void
Logs the error to the console
info(String message) → void
Logs the info to the console
logFlutterError(FlutterErrorDetails details) → void
Handy method to log FlutterError
logPlatformDispatcherError(Object error, StackTrace stackTrace) bool
Handy method to log PlatformDispatcher error
logZoneError(Object error, StackTrace stackTrace) → void
Handy method to log zoneError
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
toString() String
A string representation of this object.
inherited
verbose(String message) → void
Logs the verbose to the console
warning(String message) → void
Logs the warning to the console

Operators

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