logging.h File Reference
#include <unordered_map>
#include <vector>
#include <boost/thread.hpp>
#include <boost/function.hpp>
#include <boost/shared_ptr.hpp>
#include <boost/asio.hpp>
#include <boost/make_shared.hpp>
#include <boost/enable_shared_from_this.hpp>
#include <boost/chrono.hpp>
#include <boost/asio/waitable_timer_service.hpp>
#include <boost/bind.hpp>
#include <iostream>
#include <cstring>
#include <string>
#include "easylogging++.h"
#include "fileWatcher.h"
Include dependency graph for logging.h:

Go to the source code of this file.

Classes

struct  Level
 It stores info about the logging level. More...
 
class  Logging
 This class is used by Services and Apps to log messages. More...
 

Macros

#define ARM
 architecture
 
#define DPY_LOG_DEBUG_ON
 Debug level active.
 
#define DPY_LOG_INFO_ON
 Info level active.
 
#define DPY_LOG_ERR_ON
 Error level active.
 
#define DPY_LOG_WARN_ON
 Warn level active.
 
#define DPY_LOG_FATAL_ON
 Fatal level active.
 
#define DPYLOG_DEBUG(formatString, ...)   do{ Logging::getLogger()->debug(formatString, ##__VA_ARGS__); }while (0)
 Macro to print msg in Debug level.
 
#define DPYLOG_INFO(formatString, ...)   do{ Logging::getLogger()->info(formatString, ##__VA_ARGS__); }while (0)
 Macro to print msg in Info level.
 
#define DPYLOG_WARN(formatString, ...)   do{ Logging::getLogger()->warn(formatString, ##__VA_ARGS__); }while (0)
 Macro to print msg in Warn level.
 
#define DPYLOG_ERR(formatString, ...)   do{ Logging::getLogger()->error(formatString, ##__VA_ARGS__); }while (0)
 Macro to print msg in Error level.
 
#define DPYLOG_FATAL(formatString, ...)   do{ Logging::getLogger()->fatal(formatString, ##__VA_ARGS__); }while (0)
 Macro to print msg in Fatal level.
 

Typedefs

typedef boost::asio::basic_waitable_timer< boost::chrono::steady_clock > steady_timer
 Typedef to use a steady timer.
 

Detailed Description

Class which interfaces with the API logic