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
-
d(String message, {String tag = _DEFAULT_TAG_PREFIX})
→ dynamic
-
Print debug logs
-
e(String message, {String tag = _DEFAULT_TAG_PREFIX})
→ dynamic
-
Print error logs
-
getLogLevel()
→ int
-
-
i(String message, {String tag = _DEFAULT_TAG_PREFIX})
→ dynamic
-
Print info logs
-
setLogLevel(int priority)
→ dynamic
-
-
v(String message, {String tag = _DEFAULT_TAG_PREFIX})
→ dynamic
-
Print general logs
-
w(String message, {String tag = _DEFAULT_TAG_PREFIX})
→ dynamic
-
Print warning logs
-
wtf(String message, {String tag = _DEFAULT_TAG_PREFIX})
→ dynamic
-
Print failure logs
Constants
-
DEBUG
→ const int
-
use Log.d. Print Debug Logs
ignore: constant_identifier_names
-
ERROR
→ const int
-
use Log.e. Print error logs
ignore: constant_identifier_names
-
INFO
→ const int
-
use Log.i. Print Info Logs
ignore: constant_identifier_names
-
VERBOSE
→ const int
-
use Log.v. Print all Logs
ignore: constant_identifier_names
-
WARN
→ const int
-
use Log.w. Print warning logs
ignore: constant_identifier_names
-
WTF
→ const int
-
use Log.wtf. Print Failure Logs(What a Terrible Failure= WTF)
ignore: constant_identifier_names