unit_threaded.io

IO related functions

Members

Classes

WriterThread
class WriterThread

Thread to output to stdout

Functions

write
void write(Output output, auto ref T args)

Writes the args in a thread-safe manner.

writeRed
void writeRed(Output output, auto ref T args)

Writes the args in a thread-safe manner in red (POSIX only). and appends a newline.

writeYellow
void writeYellow(Output output, auto ref T args)

Writes the args in a thread-safe manner in yellow (POSIX only). and appends a newline.

writeln
void writeln(Output output, auto ref T args)

Writes the args in a thread-safe manner and appends a newline.

writelnGreen
void writelnGreen(Output output, auto ref T args)

Writes the args in a thread-safe manner in green (POSIX only). and appends a newline.

writelnRed
void writelnRed(Output output, auto ref T args)

Writes the args in a thread-safe manner in red (POSIX only) and appends a newline.

writelnUt
void writelnUt(auto ref T args)

Write if debug output was enabled.

Meta