Commit 7989bb98 authored by Sylvain Fargier's avatar Sylvain Fargier 🐾
Browse files

update easylogging++

parent 5e23441b
Pipeline #1561437 passed with stage
in 2 minutes and 44 seconds
......@@ -16,7 +16,6 @@
#include <easylogging++.h>
#include "ADDHException.h"
_INITIALIZE_EASYLOGGINGPP
/**
* \brief Main function
......@@ -26,7 +25,7 @@ _INITIALIZE_EASYLOGGINGPP
*/
int main(int argc, char **argv)
{
_START_EASYLOGGINGPP(argc, argv);
START_EASYLOGGINGPP(argc, argv);
try
{
const std::string configFile = (argc > 1) ?
......@@ -46,9 +45,9 @@ int main(int argc, char **argv)
}
// Initialize logger
easyloggingpp::Configurations confFromFile(
el::Configurations confFromFile(
logConfFile); // Load configuration from file
easyloggingpp::Loggers::reconfigureAllLoggers(
el::Loggers::reconfigureAllLoggers(
confFromFile); // Re-configures all the loggers to current
// configuration file
......
......@@ -30,8 +30,6 @@
#include "Config.h"
#include "local-config.h"
_INITIALIZE_EASYLOGGINGPP
using namespace ntof::addh;
namespace bfs = boost::filesystem;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment