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:

Go to the source code of this file.

Classes

class  loggers::console_logger
 

Namespaces

namespace  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.
 

Macro Definition Documentation

◆ SETUP_CONSOLE_LOGGER

#define SETUP_CONSOLE_LOGGER
Value:
{ \
/* 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 base class for a very usable logger with a filter_set and eol awareness.

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

Definition at line 69 of file console_logger.h.