LumberdashClient class abstract
LumberdashClient defines the API for producing logs.
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
-
logError(
dynamic exception, [dynamic stacktrace]) → void -
Use
logError
, in a similar fashion tologFatal
, should be used to capture a situation that cannot be fixed and requires a special level of attention. However, in this case you can use this method to capture anexception
and astacktrace
, in case your irreparable situation represents a crash in your code. -
logFatal(
String message, [Map< String, String> ? extras]) → void -
Use
logFatal
to produce a log that represents an irreparable situation. This level of logs should require your total attention. In an ideal world, you should never see this type of logs.message
is the most important piece of the log, andextras
are attached information that can be added to expand the meaning and context of your log. -
logMessage(
String message, [Map< String, String> ? extras]) → void -
Use
logMessage
to produce an mere informative log.message
is the most important piece of the log, andextras
are attached information that can be added to expand the meaning and context of your log. -
logWarning(
String message, [Map< String, String> ? extras]) → void -
Use
logWarning
to produce a log that requires a special level of attention, since it might indicate an unexpected situation, or something that should not happenmessage
is the most important piece of the log, andextras
are attached information that can be added to expand the meaning and context of your log. -
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