FlutterDriverReporter class

The Flutter driver helpfully logs ALL messages to the stderr output useless something is listening to the messages. This reporter listens to the messages from the driver so nothing is logged to the stderr stream unless it is actually an error. This can cause problems with CI servers for example as they will mark a process as failed if it logs to the stderr stream. So Flutter driver will log a normal info message to the stderr and thus make the process fail from the perspective of a CI server.

Inheritance

Constructors

FlutterDriverReporter({bool logErrorMessages: true, bool logWarningMessages: true, bool logInfoMessages: false})

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
logErrorMessages bool
final
logInfoMessages bool
final
logWarningMessages bool
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

dispose() Future<void>
override
message(String message, MessageLevel level) Future<void>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
onException(Exception exception, StackTrace stackTrace) Future<void>
inherited
onFeatureFinished(FinishedMessage message) Future<void>
inherited
onFeatureStarted(StartedMessage message) Future<void>
inherited
onScenarioFinished(ScenarioFinishedMessage message) Future<void>
inherited
onScenarioStarted(StartedMessage message) Future<void>
inherited
onStepFinished(StepFinishedMessage message) Future<void>
inherited
onStepStarted(StepStartedMessage message) Future<void>
inherited
onTestRunFinished() Future<void>
inherited
onTestRunStarted() Future<void>
override
toString() String
Returns a string representation of this object.
inherited

Operators

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