icedb  version 0.5.1
Snow particle scattering database API
Namespaces | Functions | Variables
logging.cpp File Reference
#include "../icedb/logging.hpp"
#include <iostream>
#include <fstream>
#include <memory>
#include <sstream>
#include "../icedb/misc/os_functions.h"
Include dependency graph for logging.cpp:

Go to the source code of this file.

Namespaces

 anonymous_namespace{logging.cpp}
 
 icedb
 
 icedb::logging
 

Functions

void icedb::logging::emit_log (const std::string &channel, const std::string &message, PRIORITIES p)
 
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::setupLogging (int argc, char **argv, const log_properties *lps)
 

Variables

int anonymous_namespace{logging.cpp}::logConsoleThreshold = icedb::logging::PRIORITIES::ICEDB_LOG_DEBUG_WARNING
 
int anonymous_namespace{logging.cpp}::logDebugThreshold = 0
 
std::string anonymous_namespace{logging.cpp}::logFile
 
std::shared_ptr< std::ofstream > anonymous_namespace{logging.cpp}::lOut
 
icedb::logging::log_handler_ft anonymous_namespace{logging.cpp}::logHandler = nullptr