#include "dll_loggers.h"#include <basis/function.h>#include <basis/log_base.h>Include dependency graph for null_logger.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Classes | |
| class | null_logger |
| a trash can for logging; throws away all entries. More... | |
Defines | |
| #define | SET_DEFAULT_NULL_LOGGER |
| retasks the program-wide logger as a null_logger to turn off logging. | |
Functions | |
| log_base LOGGERS_FUNCTION_STYLE * | set_PW_logger_for_null () |
| retasks the program wide logger to use a new null_logger. | |
| #define SET_DEFAULT_NULL_LOGGER |
Value:
{ \
log_base *old_log = set_PW_logger_for_null(); \
WHACK(old_log); \
}
Definition at line 50 of file null_logger.h.
Referenced by program_wide_logger(), and program_wide_cleanup::~program_wide_cleanup().
| log_base LOGGERS_FUNCTION_STYLE* set_PW_logger_for_null | ( | ) |
retasks the program wide logger to use a new null_logger.
the original log_base object is returned and must be dealt with appropriately.
Definition at line 26 of file null_logger.cpp.
References retask_program_wide_logger().
1.5.1