FileLogger class abstract final Logging

Logger for writing log messages to files.

To enable the file logger, setup the log file configuration and specify the log level as desired.

It is important to configure your LogFileConfiguration object appropriately before setting it in the logger. The logger makes a copy of the instance you provide and uses that copy. Once configured, the logger object ignores any changes you make to the configuration.

Properties

config LogFileConfiguration?
The log file configuration the logger currently uses.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
level LogLevel
The minimum log level of the messages to be logged.
getter/setter pair
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.
inherited

Operators

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