Flog 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
-
critical(String text)
→ void
-
-
debug(String text)
→ void
-
-
error(String text)
→ void
-
-
info(String text)
→ void
-
-
init({bool isDebugModeEnabled = true, bool isProfileModeEnabled = false, bool isReleaseModeEnabled = false, bool useTimestamps = false, bool useSeparators = false, bool showSystemLogs = true})
→ void
-
Initializes the Library
Optional parameters:
isDebugModeEnabled
-> defaults to: false
-> enables debug logs
isProfileModeEnabled
-> defaults to: false
-> enables profile logs
isReleaseModeEnabled
-> defaults to: false
-> enables release logs
useTimestamps
-> defaults to: false
-> enables timestamps in logs
useSeparators
-> defaults to: false
-> enables top dotted separator in console
showSystemLogs
-> defaults to: true
-> enables system logs
-
success(String text)
→ void
-
-
systemLog(String text)
→ void
-
-
todo(String text)
→ void
-
-
warning(String text)
→ void
-