ConsoleOutput class

A shortcut for creating a WriterOutput that writes to the console.

Implemented types

Constructors

ConsoleOutput({NoticeFormatter formatter = const PrettyFormatter()})
Creates a new ConsoleOutput.
const
ConsoleOutput.pretty()
Creates a new ConsoleOutput with a PrettyFormatter. This is a shortcut for ConsoleOutput(formatter: PrettyFormatter()). This is also the default.
const
ConsoleOutput.simple()
Creates a new ConsoleOutput with a SimpleFormatter. This is a shortcut for ConsoleOutput(formatter: SimpleFormatter()).
const

Properties

formatter NoticeFormatter
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

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onRecord(NoticeRecord record) → void
Called when a notice is recorded.
toString() String
A string representation of this object.
inherited

Operators

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