PrintLogger class
Minimal logger that mirrors the current behaviour (stdout prints).
- Implemented types
Constructors
- PrintLogger({bool includeTimestamp = true})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- includeTimestamp → bool
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
debug(
String message, {Map< String, Object?> ? context}) → void -
override
-
error(
String message, {Map< String, Object?> ? context, Object? error, StackTrace? stackTrace}) → void -
override
-
info(
String message, {Map< String, Object?> ? context}) → void -
override
-
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, {Map< String, Object?> ? context, Object? error, StackTrace? stackTrace}) → void -
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited