LogFileConfiguration class Null safety 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. [...]
read-only, override
maxRotateCount int
The maximum number of rotated log files to keep. [...]
read / write
maxSize int
The maximum size of a log file before being rotated, in bytes. [...]
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
usePlainText bool
Whether to use the plain text file format instead of the default binary format.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override

Operators

operator ==(Object other) bool
The equality operator. [...]
override