Electroneum
Classes | Namespaces | Macros | Enumerations
logging.h File Reference
#include <string>
#include <cstdio>
#include <cstdlib>
#include <ctime>
#include <iostream>
#include <sstream>
#include "settings.h"
Include dependency graph for logging.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  crow::ILogHandler
 
class  crow::CerrLogHandler
 
class  crow::logger
 

Namespaces

 crow
 

Macros

#define CROW_LOG_CRITICAL
 
#define CROW_LOG_ERROR
 
#define CROW_LOG_WARNING
 
#define CROW_LOG_INFO
 
#define CROW_LOG_DEBUG
 

Enumerations

enum  crow::LogLevel {
  crow::LogLevel::DEBUG = 0, crow::LogLevel::INFO, crow::LogLevel::WARNING, crow::LogLevel::ERROR,
  crow::LogLevel::CRITICAL, crow::LogLevel::Debug = 0, crow::LogLevel::Info, crow::LogLevel::Warning,
  crow::LogLevel::Error, crow::LogLevel::Critical
}
 

Macro Definition Documentation

◆ CROW_LOG_CRITICAL

#define CROW_LOG_CRITICAL
Value:
crow::logger("CRITICAL", crow::LogLevel::Critical)
static LogLevel get_current_log_level()
Definition: logging.h:103

◆ CROW_LOG_DEBUG

#define CROW_LOG_DEBUG
Value:
crow::logger("DEBUG ", crow::LogLevel::Debug)
static LogLevel get_current_log_level()
Definition: logging.h:103

◆ CROW_LOG_ERROR

#define CROW_LOG_ERROR
Value:
crow::logger("ERROR ", crow::LogLevel::Error)
static LogLevel get_current_log_level()
Definition: logging.h:103

◆ CROW_LOG_INFO

#define CROW_LOG_INFO
Value:
crow::logger("INFO ", crow::LogLevel::Info)
static LogLevel get_current_log_level()
Definition: logging.h:103

◆ CROW_LOG_WARNING

#define CROW_LOG_WARNING
Value:
crow::logger("WARNING ", crow::LogLevel::Warning)
static LogLevel get_current_log_level()
Definition: logging.h:103