LogFileReporter class
Writes the run to a log file, one section per step
Each line of a step starts with the time since the step has started. The lines are written as soon as they arrive, so the log is complete up to the moment a run is stopped. A group has no section of its own, since all its work is done by its steps
- Implemented types
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- writeError ↔ String?
-
The first error that happened while writing. Nothing is written after it
getter/setter pair
Methods
-
close(
) → Future< void> -
Called once after RunFinished, to release whatever the reporter holds
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onEvent(
PipeEvent event) → void -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
open(
String path) → (LogFileReporter?, String?) -
Opens the log file at
pathfor appending, creating it and its folders when they do not exist