|
ORE Studio 0.0.4
|
Manages the starting and stopping of logging for an application. More...
#include <lifecycle_manager.hpp>

Public Member Functions | |
| lifecycle_manager (lifecycle_manager &&)=delete | |
| lifecycle_manager & | operator= (const lifecycle_manager &)=delete |
| lifecycle_manager (std::optional< logging_options > ocfg) | |
| Initialise logging for the entire application. | |
| ~lifecycle_manager () | |
| Shutdown logging for the entire application. | |
Manages the starting and stopping of logging for an application.
Note: this class uses boost shared_ptr due to legacy reasons (boost log does not support std::shared_ptr).
|
explicit |
Initialise logging for the entire application.
If no configuration is supplied, logging is disabled.
| ~lifecycle_manager | ( | ) |
Shutdown logging for the entire application.
Should be done in a thread-safe context.