LoggingOptions class
Configuration options for logging behavior.
Allows customization of how log messages are formatted and displayed.
Constructors
- LoggingOptions({LogLevel level = LogLevel.info, bool showTime = true, bool showEmoji = true, bool logInRelease = false, bool useDebugPrint = false, LogFormatter? formatter})
-
Constructs an instance of LoggingOptions.
const
Properties
- formatter → LogFormatter?
-
An optional custom formatter for log messages.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- level → LogLevel
-
The minimum log level that will be displayed.
final
- logInRelease → bool
-
Whether logging is enabled in release builds.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showEmoji → bool
-
Whether to include an emoji representing the log level in the log message.
final
- showTime → bool
-
Whether to include the timestamp in the log message.
final
- useDebugPrint → bool
-
Whether or not to chunk the log message.
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