feisty meow concerns codebase
2.140
|
A class that provides logging facilities vertically to all of hoople. More...
#include <program_wide_logger.h>
Static Public Member Functions | |
static loggers::standard_log_base & | get () |
Provided by the startup code within each application for logging. More... | |
static loggers::standard_log_base * | set (loggers::standard_log_base *new_log) |
replaces the current program-wide logger with the "new_log". More... | |
A class that provides logging facilities vertically to all of hoople.
Provides a per-program logging subsystem that can be used from almost anywhere in the source code. The program wide logger feature is a globally defined object that can be switched out to perform different types of logging. Note: this facility is not thread-safe. The coder must guarantee that the appropriate logger is set up before cranking up a bunch of threads that use logging.
Definition at line 39 of file program_wide_logger.h.
|
static |
Provided by the startup code within each application for logging.
This can be used like any base_logger object, but the diagnostic items will be stored into one log file (or other logging mechanism) per program.
Definition at line 25 of file program_wide_logger.cpp.
|
static |
replaces the current program-wide logger with the "new_log".
Definition at line 27 of file program_wide_logger.cpp.
References NULL_POINTER.