LogFileConfiguration class Logging
The configuration for log files.
Constructors
- LogFileConfiguration({required String directory, bool usePlainText = false, int? maxSize, int? maxRotateCount})
- Creates the configuration for log files.
- LogFileConfiguration.from(LogFileConfiguration config)
-
Creates a LogFileConfiguration from
config
by copying all properties.
Properties
- directory → String
-
The directory to store the log files in.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- maxRotateCount ↔ int
-
The maximum number of rotated log files to keep.
getter/setter pair
- maxSize ↔ int
-
The maximum size of a log file before being rotated, in bytes.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- usePlainText ↔ bool
-
Whether to use the plain text file format instead of the default binary
format.
getter/setter pair
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.
override