Fixed logging on Windows. Event log sink is still broken.
This commit is contained in:
1 parent
3060386a23
commit
ac3d1869cf
14 files changed
+73
-20
No files matched your search
@@ -7,11 +7,13 @@ namespace config {
|
||||
namespace internal {
|
||||
|
||||
struct ConfigLog::PImpl {
|
||||
PImpl() :
|
||||
PImpl()
|
||||
:
|
||||
print_errors(true),
|
||||
logger_hub("config_logger"),
|
||||
logger(logger_hub.make_logger())
|
||||
{}
|
||||
{
|
||||
}
|
||||
|
||||
bool print_errors;
|
||||
log::LoggerHub logger_hub;
|
||||
@@ -42,6 +44,11 @@ ConfigLog::ConfigLog() :
|
||||
me->logger_hub.config(cfg);
|
||||
}
|
||||
|
||||
void ConfigLog::start()
|
||||
{
|
||||
me->logger_hub.start();
|
||||
}
|
||||
|
||||
ConfigLog::~ConfigLog()
|
||||
{
|
||||
me->logger.mark_inactive();
|
||||
|
||||
Reference in new issue
Block a user