FileAppender class

A appender for writing logs to a logfile

Inheritance

Constructors

FileAppender()

Properties

brackets bool
getter/setter pairinherited
clientDepthOffset int?
getter/setter pairinherited
created DateTime
The date the appender was created.
getter/setter pairinherited
dateFormat String?
The dateformat used for the appender.
getter/setter pairinherited
fileExtension String?
The logfile file extension. Default is .log
getter/setter pair
filePattern String?
The logfile pattern
getter/setter pair
format String?
The logformat for the appender.
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
level Level?
The loglevel for the appender.
getter/setter pairinherited
lineInfo String?
getter/setter pairinherited
path String?
The path where the file(s) is/are stored
getter/setter pair
rotationCycle RotationCycle
The rotation cycle
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type AppenderType?
The type of the appender.
getter/setter pairinherited

Methods

append(LogRecord logRecord) → void
Appending the given logRecord.
override
checkForFileChange() Future<void>?
Check whether to create a new logfile depending on the RotationCycle.
getInstance() Appender
Retuns a new instance of the appender.
override
getType() String
Returns the type of the appender.
override
init(Map<String, dynamic> config, bool test, DateTime? date) Future<void>?
Setup the appender. This needs to be called for every appender to configure the appender with the necessary data.
override
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