RefinedLogger class abstract

Logger class, that manages the logging of messages

Implementers

Constructors

RefinedLogger()

Properties

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

Methods

debug(String message, {Object? error, StackTrace? stackTrace, Map<String, Object?>? context, bool printStackTrace = true, bool printError = true}) → void
Logs a message with LogLevel.debug.
destroy() → void
Destroys the logger and releases any resources
error(String message, {Object? error, StackTrace? stackTrace, Map<String, Object?>? context, bool printStackTrace = true, bool printError = true}) → void
Logs a message with LogLevel.error.
fatal(String message, {Object? error, StackTrace? stackTrace, Map<String, Object?>? context, bool printStackTrace = true, bool printError = true}) → void
Logs a message with LogLevel.fatal.
info(String message, {Object? error, StackTrace? stackTrace, Map<String, Object?>? context, bool printStackTrace = true, bool printError = true}) → void
Logs a message with LogLevel.info.
log(String message, {required LogLevel level, Object? error, StackTrace? stackTrace, Map<String, Object?>? context, bool printStackTrace = true, bool printError = true}) → void
Logs a message with the specified level.
logFlutterError(FlutterErrorDetails details) → void
Logs a flutter error with LogLevel.error.
logPlatformDispatcherError(Object error, StackTrace stackTrace) bool
Logs a platform dispatcher error with LogLevel.error.
logZoneError(Object error, StackTrace stackTrace) → void
Logs a zone error with LogLevel.error.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
trace(String message, {Object? error, StackTrace? stackTrace, Map<String, Object?>? context, bool printStackTrace = true, bool printError = true}) → void
Logs a message with LogLevel.trace.
warn(String message, {Object? error, StackTrace? stackTrace, Map<String, Object?>? context, bool printStackTrace = true, bool printError = true}) → void
Logs a message with LogLevel.warn.

Operators

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