chemmisol 0.1
Loading...
Searching...
No Matches
logging.h
Go to the documentation of this file.
1#ifndef CHEMMISOL_LOGGING_H
2#define CHEMMISOL_LOGGING_H
3
4#include "easylogging++.h"
5
16#define CHEM_CORE_LOGID "chemmisol-core"
21#define CHEM_LOG(LEVEL) CLOG(LEVEL, CHEM_CORE_LOGID)
26#define CHEM_LOGV(VERBOSE_LEVEL) CVLOG(VERBOSE_LEVEL, CHEM_CORE_LOGID)
27
28namespace chemmisol {
33 extern el::Logger* core_logger;
34
46 el::Logger* init_logger(const char* logger_id);
47
61 el::Logger* logger, const std::string& log_file, bool terminal_logging
62 );
63}
64#endif
Definition chemmisol.h:31
el::Logger * init_logger(const char *logger_id)
void log_to_file(el::Logger *logger, const std::string &log_file, bool terminal_logging)
el::Logger * core_logger