Log class

Constructors

Log()

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

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

Static Properties

consoleLogging bool
getter/setter pair
enabled bool
getter/setter pair
logDir Directory
final
minLevel LogLevel
getter/setter pair

Static Methods

critical(String message, {String? tag, Object? error, StackTrace? stackTrace}) → void
debug(String message, {String? tag, Object? error, StackTrace? stackTrace}) → void
error(String message, {String? tag, Object? error, StackTrace? stackTrace}) → void
info(String message, {String? tag, Object? error, StackTrace? stackTrace}) → void
init() Future<void>
log(LogLevel level, String message, {Object? error, StackTrace? stackTrace, String? tag, bool asJson = true}) → void
success(String message, {String? tag, Object? error, StackTrace? stackTrace}) → void
warning(String message, {String? tag, Object? error, StackTrace? stackTrace}) → void