feisty meow concerns codebase  2.140
console_logger.h File Reference
#include "standard_log_base.h"
#include <basis/astring.h>
#include <basis/contracts.h>
#include <basis/enhance_cpp.h>
Include dependency graph for console_logger.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  loggers::console_logger
 

Namespaces

 loggers
 A logger that sends to the console screen using the standard output device.
 

Macros

#define SETUP_CONSOLE_LOGGER
 < a macro that retasks the program-wide logger as a console_logger. More...
 

Macro Definition Documentation

◆ SETUP_CONSOLE_LOGGER

#define SETUP_CONSOLE_LOGGER
Value:
{ \
loggers::standard_log_base *old_log = loggers::program_wide_logger::set \
/* assumes we are good to entirely remove the old logger. */ \
WHACK(old_log); \
}
static loggers::standard_log_base * set(loggers::standard_log_base *new_log)
replaces the current program-wide logger with the "new_log".

< a macro that retasks the program-wide logger as a console_logger.

Definition at line 69 of file console_logger.h.