SessionLogConfig class

Configuration for session logging.

Constructors

SessionLogConfig({required bool persistentEnabled, required bool consoleEnabled, ConsoleLogFormat? consoleLogFormat})
Creates a new SessionLogConfig.
SessionLogConfig.buildDefault({required bool databaseEnabled, required String runMode})
Creates a new default SessionLogConfig based on the run mode and whether the database is enabled.
factory

Properties

consoleEnabled bool
True if console logging should be enabled.
final
consoleLogFormat ConsoleLogFormat
The format for the console log.
final
hashCode int
The hash code for this object.
no setterinherited
persistentEnabled bool
True if persistent logging (e.g., to Redis) should be enabled.
final
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.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited