class

Athena::Console::Output::ConsoleOutput

Inherits Athena::Console::Output::ConsoleOutputInterface / Athena::Console::Output::IO / Athena::Console::Output / Athena::Console::Output::Interface / Reference / Object

An ACON::Output::ConsoleOutputInterface that wraps STDOUT and STDERR.

Constructors

new(verbosity : ACON::Output::Verbosity = :normal, decorated : Bool | Nil = nil, formatter : ACON::Formatter::Interface | Nil = nil)
Source

Instance methods

decorated=(decorated : Bool) : Nil

Sets if printed messages should be decorated.

Source
error_output

Returns an ACON::Output::Interface that represents STDERR.

Source
error_output=(stderr : ACON::Output::Interface) : Nil

Sets the ACON::Output::Interface that represents STDERR.

Source
formatter=(formatter : Bool) : Nil

:inherit:

Source
section

:inherit:

Source
stderr=(stderr : ACON::Output::Interface)

Sets the ACON::Output::Interface that represents STDERR.

Source
verbosity=(verbosity : ACON::Output::Verbosity) : Nil

Set the minimum ACON::Output::Verbosity required for a message to be printed.

Source