Go library to provide an easy way for command-line oriented programs to handle console and error writing and logging, as well as a simple way to verify what is written to those channels.
The WriteCanonical... functions take on too much responsibility for correcting output that, honestly, should be done by callers. In addition, the WriteConsole/WriteError functions act like they are for printing a line with newline termination (particularly as they handle list decorators) but do not ensure the output is terminated with a newline. This issue proposes:
New Bus interface functions:
ConsolePrintf
ConsolePrintln
ErrorPrintf
ErrorPrintln
with functionality patterned on the go-standard Printf/Println functions
The WriteCanonical... functions take on too much responsibility for correcting output that, honestly, should be done by callers. In addition, the WriteConsole/WriteError functions act like they are for printing a line with newline termination (particularly as they handle list decorators) but do not ensure the output is terminated with a newline. This issue proposes:
New Bus interface functions:
with functionality patterned on the go-standard Printf/Println functions
Deleting: