Logger class
Logging message to console as developer.
See available colors on https://www.lihaoyi.com/post/BuildyourownCommandLinewithANSIescapecodes.html
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 Methods
-
clap(
String tag, Object? object) → void - Log level Level.success
-
d(
String tag, Object? object) → void -
debug(
String tag, Object? object) → void - Log level Level.debug
-
e(
String tag, Object? object) → void - Log level Level.error
-
i(
String tag, Object? object) → void - Log level Level.info
-
log(
String tag, Object? object, {Level level = Level.info}) → void - Print logging message if in debug or profile mode
-
logError(
String tag, Object? object) → void - Log level Level.error
-
logInfo(
String tag, Object? object) → void - Log level Level.info
-
logSuccess(
String tag, Object? object) → void - Log level Level.success
-
logWarning(
String tag, Object? object) → void - Log level Level.warning
-
print(
String tag, Object? object, {Level level = Level.info}) → void -
w(
String tag, Object? object) → void - Log level Level.warning