AbstractOutput

Base class for output classes.

There are five levels of verbosity:

* normal: no option passed (normal output) * verbose: -v (more output) * very verbose: -vv (highly extended output) * debug: -vvv (all debug output) * quiet: -q (no output)

Constructors

this
this()
Undocumented in source.
this
this(Verbosity verbosity)
Undocumented in source.
this
this(Verbosity verbosity, bool decorated)
Undocumented in source.
this
this(Verbosity verbosity, bool decorated, OutputFormatter formatter)
Undocumented in source.

Members

Functions

doWrite
void doWrite(string message, bool newline)

Writes a message to the output.

getFormatter
OutputFormatter getFormatter()
Undocumented in source. Be warned that the author may not have intended to support it.
getVerbosity
Verbosity getVerbosity()
Undocumented in source. Be warned that the author may not have intended to support it.
isDebug
bool isDebug()
Undocumented in source. Be warned that the author may not have intended to support it.
isDecorated
bool isDecorated()
Undocumented in source. Be warned that the author may not have intended to support it.
isQuiet
bool isQuiet()
Undocumented in source. Be warned that the author may not have intended to support it.
isVerbose
bool isVerbose()
Undocumented in source. Be warned that the author may not have intended to support it.
isVeryVerbose
bool isVeryVerbose()
Undocumented in source. Be warned that the author may not have intended to support it.
setDecorated
void setDecorated(bool decorated)
Undocumented in source. Be warned that the author may not have intended to support it.
setFormatter
void setFormatter(OutputFormatter formatter)
Undocumented in source. Be warned that the author may not have intended to support it.
setVerbosity
void setVerbosity(Verbosity verbosity)
Undocumented in source. Be warned that the author may not have intended to support it.
write
void write(string message)
Undocumented in source. Be warned that the author may not have intended to support it.
write
void write(string message, bool newline)
Undocumented in source. Be warned that the author may not have intended to support it.
write
void write(string message, bool newline, OutputType type)
Undocumented in source. Be warned that the author may not have intended to support it.
writeln
void writeln(string message)
Undocumented in source. Be warned that the author may not have intended to support it.
writeln
void writeln(string message, OutputType type)
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From Output

write
void write(string message)
Undocumented in source.
write
void write(string message, bool newline)
Undocumented in source.
write
void write(string message, bool newline, OutputType type)
Undocumented in source.
writeln
void writeln(string message)
Undocumented in source.
writeln
void writeln(string message, OutputType type)
Undocumented in source.
setVerbosity
void setVerbosity(Verbosity verbosity)
Undocumented in source.
getVerbosity
Verbosity getVerbosity()
Undocumented in source.
setDecorated
void setDecorated(bool decorated)
Undocumented in source.
isDecorated
bool isDecorated()
Undocumented in source.
setFormatter
void setFormatter(OutputFormatter formatter)
Undocumented in source.
getFormatter
OutputFormatter getFormatter()
Undocumented in source.

Meta