FloggerConfig class
Configuration options for LogRecord
Constructors
- FloggerConfig({String loggerName = "App", bool printClassName = true, bool printMethodName = false, bool showDateTime = false, bool showDebugLogs = true, FloggerPrinter? printer})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- loggerName → String
-
The name for the default Logger
final
- printClassName → bool
-
Print the class name where the log was triggered
final
- printer → FloggerPrinter?
-
Print logs with a custom format
If set, ignores all other print options
final
- printMethodName → bool
-
Print the method name where the log was triggered
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showDateTime → bool
-
Print the date and time when the log occurred
final
- showDebugLogs → bool
-
Print logs with Debug severity
final
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