Fork Vasum on GitHub Official Vasum Wiki on Tizen.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
logger.hpp File Reference
#include "logger/level.hpp"
#include "logger/backend-null.hpp"
#include "logger/backend-file.hpp"
#include "logger/backend-persistent-file.hpp"
#include "logger/backend-syslog.hpp"
#include "logger/backend-stderr.hpp"
#include <sstream>
#include <string>

Go to the source code of this file.

Classes

class  logger::Logger
 

Namespaces

 logger
 

Macros

#define PROJECT_SOURCE_DIR   ""
 
#define LOG(SEVERITY, MESSAGE)
 Generic logging macro. More...
 
#define LOGE(MESSAGE)   LOG(ERROR, MESSAGE)
 Logging errors. More...
 
#define LOGW(MESSAGE)   LOG(WARN, MESSAGE)
 Logging warnings. More...
 
#define LOGI(MESSAGE)   LOG(INFO, MESSAGE)
 Logging information. More...
 
#define LOGD(MESSAGE)   LOG(DEBUG, MESSAGE)
 Logging debug information. More...
 
#define LOGH(MESSAGE)   LOG(HELP, MESSAGE)
 Logging helper information (for debugging purposes) More...
 
#define LOGT(MESSAGE)   LOG(TRACE, MESSAGE)
 Logging tracing information. More...
 

Enumerations

enum  logger::LogType : int {
  logger::LogType::LOG_NULL, logger::LogType::LOG_JOURNALD, logger::LogType::LOG_FILE, logger::LogType::LOG_PERSISTENT_FILE,
  logger::LogType::LOG_SYSLOG, logger::LogType::LOG_STDERR
}
 

Functions

void logger::setupLogger (const LogType type, const LogLevel level, const std::string &arg="")
 A helper function to easily and completely setup a new logger. More...
 

Detailed Description

Macro Definition Documentation

#define PROJECT_SOURCE_DIR   ""