LoggerService class abstract
An abstract contract defining the core logging capabilities of the application.
Implementing classes (e.g., AppLogger) should provide concrete logic for processing and routing logs to various destinations like the console, files, or external crashlytics services.
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
debug(
String message, {Object? error, StackTrace? stackTrace}) → void - Logs a debug message with optional error and stack trace context.
-
error(
String message, {Object? error, StackTrace? stackTrace}) → void - Logs a critical error message along with the associated error object and stack trace.
-
info(
String message) → void - Logs an informational message.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
warning(
String message) → void - Logs a warning message.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited