LumberdashClient class Null safety

LumberdashClient defines the API for producing logs.

Constructors

LumberdashClient()

Properties

hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

logError(dynamic exception, [dynamic stacktrace]) → void
Use logError, in a similar fashion to logFatal, 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 an exception and a stacktrace, 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, and extras 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, and extras 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 happen message is the most important piece of the log, and extras are attached information that can be added to expand the meaning and context of your log.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited