Logger class abstract
Logger interface used internally by the library.
StdoutLogger is used by default.
To redirect log output to a custom destination, implement this interface
and pass it to the MastodonClient constructor.
- Implementers
Constructors
- Logger()
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) → void - Logs a debug-level message.
-
error(
String message, [Object? error, StackTrace? stackTrace]) → void - Logs an error-level message.
-
info(
String message) → void - Logs an info-level message.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
warn(
String message) → void - Logs a warning-level message.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited