unit_threaded.runner.io

IO related functions

Members

Classes

WriterThread
class WriterThread

Thread to output to stdout

Functions

enableDebugOutput
void enableDebugOutput(bool value)
Undocumented in source. Be warned that the author may not have intended to support it.
forceEscCodes
void forceEscCodes()
Undocumented in source. Be warned that the author may not have intended to support it.
isDebugOutputEnabled
bool isDebugOutputEnabled()
Undocumented in source. Be warned that the author may not have intended to support it.
threadWriter
void threadWriter(from!"std.concurrency".Tid tid)
Undocumented in source. Be warned that the author may not have intended to support it.
tryEnableEscapeCodes
void tryEnableEscapeCodes()
Undocumented in source. Be warned that the author may not have intended to support it.
write
void write(Output output, T args)

Writes the args in a thread-safe manner.

writeRed
void writeRed(Output output, T args)

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

writeYellow
void writeYellow(Output output, T args)

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

writeln
void writeln(Output output, T args)

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

writelnGreen
void writelnGreen(Output output, T args)

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

writelnRed
void writelnRed(Output output, T args)

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

writelnUt
void writelnUt(T args)

Write if debug output was enabled.

Interfaces

Output
interface Output
Undocumented in source.

Manifest constants

_escCodes
enum _escCodes;
Undocumented in source.
nullFileName
enum nullFileName;
Undocumented in source.
nullFileName
enum nullFileName;
Undocumented in source.

Structs

Flush
struct Flush
Undocumented in source.
ThreadEnded
struct ThreadEnded
Undocumented in source.
ThreadFinish
struct ThreadFinish
Undocumented in source.
ThreadStarted
struct ThreadStarted
Undocumented in source.
ThreadWait
struct ThreadWait
Undocumented in source.

Meta