Logger class
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
Static Methods
-
danger(dynamic message, [dynamic data])
→ void
-
log the text using danger color (red)
-
info(dynamic message, [dynamic data])
→ void
-
log the text using info color (lightblue)
-
log(String level, dynamic message, [dynamic data])
→ void
-
-
success(dynamic message, [dynamic data])
→ void
-
log the text using success color (green)
-
warn(dynamic message, [dynamic data])
→ void
-
log the text using warn color (yellow)