ConsoleLogHandler class
A log handler that outputs log messages to the console.
- Implemented types
Constructors
- ConsoleLogHandler()
- Creates a new console log handler.
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
-
close(
) → void -
Closes the handler and releases any resources.
override
-
log(
LogLevel level, String message, {String? source, Map< String, dynamic> ? metadata}) → void -
Logs a message with the specified level and optional metadata.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited