ConsoleLogger class
- Inheritance
-
- Object
- BaseLogger
- ConsoleLogger
Constructors
- ConsoleLogger({required String logLevel})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
levels
→ Map<
String, int> -
finalinherited
- logLevel ↔ String
-
getter/setter pairoverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
tagMetadata
↔ Map<
String, Map< String, dynamic> > -
getter/setter pairinherited
Methods
-
debug(
String tag, String message, [Map< String, dynamic> ? meta = null]) → void -
override
-
error(
String tag, String message, [Map< String, dynamic> ? meta = null]) → void -
override
-
fatal(
String tag, String message, [Map< String, dynamic> ? meta = null]) → void -
override
-
getCombinedMetadata(
String tag, Map< String, dynamic> ? meta) → Map<String, dynamic> ? -
inherited
-
info(
String tag, String message, [Map< String, dynamic> ? meta = null]) → void -
override
-
isLogLevelConditionMeet(
String level) → bool -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setTagMetadata(
{required String tag, required Map< String, dynamic> metadata}) → void -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited