#include "dll_loggers.h"#include <basis/function.h>#include <basis/log_base.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 | console_logger |
| A logger that sends to the console screen using the standard output device. More... | |
Defines | |
| #define | SET_DEFAULT_CONSOLE_LOGGER |
| a macro that retasks the program-wide logger as a stderr console_logger. | |
| #define | SET_DEFAULT_ERROR_LOGGER |
Functions | |
| log_base LOGGERS_FUNCTION_STYLE * | set_PW_logger_for_console (bool standard_error=false) |
| retasks the program wide logger to use a new console_logger. a macro that retasks the program-wide logger as a console_logger. | |
| #define SET_DEFAULT_CONSOLE_LOGGER |
Value:
{ \
log_base *old_log = set_PW_logger_for_console(); \
WHACK(old_log); \
}
Definition at line 69 of file console_logger.h.
Referenced by write_build_config::execute(), version_stamper::execute(), and main().
| #define SET_DEFAULT_ERROR_LOGGER |
Value:
{ \
log_base *old_log = set_PW_logger_for_console(true); \
WHACK(old_log); \
}
Definition at line 75 of file console_logger.h.
| log_base LOGGERS_FUNCTION_STYLE* set_PW_logger_for_console | ( | bool | standard_error = false |
) |
retasks the program wide logger to use a new console_logger. a macro that retasks the program-wide logger as a console_logger.
the original log_base object is returned and must be dealt with appropriately.
Definition at line 48 of file console_logger.cpp.
References retask_program_wide_logger().
1.5.1