Flog class

Constructors

Flog()

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 Properties

isDebugModeEnabled → bool
Returns the hostname
no setter
isProfileModeEnabled → bool
Returns the hostname
no setter
isReleaseModeEnabled → bool
Returns the hostname
no setter
showSystemLogs → bool
Returns the system log state
no setter
useSeparators → bool
Returns the separator state
no setter
useTimestamps → bool
Returns the timestamp state
no setter

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