changed pointer stuff
This commit is contained in:
@@ -33,7 +33,7 @@ namespace LoggerFactory
|
||||
conf.setToDefault();
|
||||
|
||||
conf.set(el::Level::Global, el::ConfigurationType::ToFile, "true");
|
||||
conf.set(el::Level::Global, el::ConfigurationType::Filename, INPUT_LOGGER_FILE);
|
||||
conf.set(el::Level::Global, el::ConfigurationType::Filename, LOGGER_FILE);
|
||||
conf.set(el::Level::Global, el::ConfigurationType::Format, "%datetime [%level] [%func] : %msg");
|
||||
|
||||
el::Loggers::reconfigureLogger(INPUT_LOGGER, conf);
|
||||
|
||||
@@ -8,7 +8,11 @@
|
||||
#include "easylogging++.h"
|
||||
|
||||
#define INPUT_LOGGER "driver_logger"
|
||||
#define INPUT_LOGGER_FILE "input_driver.log"
|
||||
#define OUTPUT_LOGGER "output_logger"
|
||||
|
||||
#define LOGGER_FILE "input_driver.log"
|
||||
|
||||
|
||||
|
||||
#define DRIVER_CONF_FILE "/var/log/flippr_driver.conf"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user