icedb  version 0.5.1
Snow particle scattering database API
Classes | Namespaces | Macros | Typedefs | Enumerations | Functions
logging.hpp File Reference
#include "defs.h"
#include <iostream>
#include <sstream>
#include <string>
Include dependency graph for logging.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  icedb::logging::log_properties
 

Namespaces

 icedb
 
 icedb::logging
 

Macros

#define ICEDB_log(c, p, x)
 

Typedefs

typedef void(* icedb::logging::log_handler_ft) (const char *, const char *, PRIORITIES)
 

Enumerations

enum  icedb::logging::PRIORITIES {
  icedb::logging::ICEDB_LOG_DEBUG_2, icedb::logging::ICEDB_LOG_DEBUG_1, icedb::logging::ICEDB_LOG_INFO, icedb::logging::ICEDB_LOG_NORMAL,
  icedb::logging::ICEDB_LOG_NOTIFICATION, icedb::logging::ICEDB_LOG_DEBUG_WARNING, icedb::logging::ICEDB_LOG_ERROR, icedb::logging::ICEDB_LOG_CRITICAL
}
 

Functions

void icedb::logging::register_log_handler (log_handler_ft p)
 
void icedb::logging::emit_log (const char *channel, const char *message, PRIORITIES p)
 
void icedb::logging::emit_log (const std::string &channel, const std::string &message, PRIORITIES p)
 
void icedb::logging::setupLogging (int argc, char **argv, const log_properties *lps)
 

Macro Definition Documentation

◆ ICEDB_log

#define ICEDB_log (   c,
  p,
 
)