20 using namespace basis;
34 FILE *log_to = stdout;
35 if (c_target ==
TO_STDERR) log_to = stderr;
38 fprintf(log_to,
"%s\n", (
char *)info.
observe());
Defines the base class for all string processing objects in hoople.
virtual const char * observe() const =0
observes the underlying pointer to the zero-terminated string.
Outcomes describe the state of completion for an operation.
virtual ~console_logger()
virtual basis::outcome log(const basis::base_string &info, int filter)
sends the string "info" to the standard output device.
The guards collection helps in testing preconditions and reporting errors.
A logger that sends to the console screen using the standard output device.