added config.h
This commit is contained in:
@@ -13,12 +13,16 @@
|
||||
#include "Detector.h"
|
||||
|
||||
#include "../utilities/InputGPIOInterface.h"
|
||||
#include "../utilities/config.h"
|
||||
#include "../lib/json/json.hpp"
|
||||
#include "../lib/easylogging/easylogging++.h"
|
||||
#include "EventNotifier.h"
|
||||
|
||||
using namespace nlohmann;
|
||||
|
||||
|
||||
INITIALIZE_EASYLOGGINGPP
|
||||
|
||||
namespace Input
|
||||
{
|
||||
class InputFactory
|
||||
@@ -57,7 +61,13 @@ private:
|
||||
|
||||
static void ConfigureLogger()
|
||||
{
|
||||
el::Loggers::getLogger(INPUT_LOGGER);
|
||||
|
||||
//TODO may configure?
|
||||
el::Configurations defaultConf;
|
||||
defaultConf.setToDefault();
|
||||
|
||||
el::Loggers::reconfigureLogger(INPUT_LOGGER,defaultConf);
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user