Log4Dart class
Meant to be mixed into client classes that need login.
class Client with Log4Dart { ... logDebug(...); ...
Alternatively, use Logger.debug(...) etc directly.
In either case, call Logger.init(config) once in main!
Constructors
- Log4Dart()
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
-
logDebug(
Object message, {String? tag, Object? exception, StackTrace? stackTrace, Object? object}) → void -
logError(
Object message, {String? tag, Object? exception, StackTrace? stackTrace, Object? object}) → void -
logFatal(
Object message, {String? tag, Object? exception, StackTrace? stackTrace, Object? object}) → void -
logInfo(
Object message, {String? tag, Object? exception, StackTrace? stackTrace, Object? object}) → void -
logTrace(
Object message, {String? tag, Object? exception, StackTrace? stackTrace, Object? object}) → void -
logWarn(
Object message, {String? tag, Object? exception, StackTrace? stackTrace, Object? object}) → void -
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