SafeStdout class
The stdout, where the writes stop quietly once they fail, instead of stopping the run
A write fails when the stdout is a pipe whose reader has gone away, e.g. ... | head -n 5. The
run still finishes, its exit code is the same, and the log file still has all of it
- 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
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
write(
Object? object) → void -
Writes the string representation of
object.override -
writeAll(
Iterable< Object?> objects, [String separator = ""]) → void -
Writes the elements of
objectsseparated byseparator.override -
writeCharCode(
int charCode) → void -
Writes a string containing the character with code point
charCode.override -
writeln(
[Object? object = ""]) → void -
Writes the string representation of
objectfollowed by a newline.override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance → SafeStdout
-
final