FileEmitter class
Write log to file.
Constructors
- FileEmitter({required File file, bool append = true})
Properties
- append → bool
-
FileMode.writeOnlyAppend or FileMode.writeOnly.
final
- file → File
-
The file to store log.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
destroy(
) → void -
override
-
emit(
Record record, List< String> lines) → void -
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