Logger class
Constructors
-
Logger.init({int methodCount = 2, int bufferSize = 20, int lineLength = 120, bool printTime = true, bool colors = false, bool printEmojis = true, Map<Level, bool> excludeBox = const {}, bool noBoxingByDefault = false, bool enabled = true})
-
factory
Properties
-
enabled
→ bool
-
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
d(dynamic message, [dynamic error, StackTrace? stackTrace])
→ void
-
Log a message at level
Level.debug
.
-
e(dynamic message, [dynamic error, StackTrace? stackTrace])
→ void
-
Log a message at level
Level.error
.
-
i(dynamic message, [dynamic error, StackTrace? stackTrace])
→ void
-
Log a message at level
Level.info
.
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
-
v(dynamic message, [dynamic error, StackTrace? stackTrace])
→ void
-
Log a message at level
Level.verbose
.
-
w(dynamic message, [dynamic error, StackTrace? stackTrace])
→ void
-
Log a message at level
Level.warning
.
-
wtf(dynamic message, [dynamic error, StackTrace? stackTrace])
→ void
-
Log a message at level
Level.wtf
.