37 #ifndef CAEN_INCLUDE_CAENLOGGER_H_ 38 #define CAEN_INCLUDE_CAENLOGGER_H_ 60 #define LOG_ENV_FILENAME "CAEN_LOG_FILENAME" 61 #define LOG_ENV_LEVEL "CAEN_LOG_LEVEL" 139 #define INIT_C_LOGGER(fname, mname) static const c_locallogger_t __locallogger = { (fname), (mname) } 148 #define vlogMsg(s, format, args) c_lvprintf(&(__locallogger), (s), (format), (args)) 157 #define logMsg(s, ...) c_lprintf(&(__locallogger), (s), __LINE__, __VA_ARGS__) 163 #endif // CAEN_INCLUDE_CAENLOGGER_H_ void c_lsetst(uint64_t time)
int32_t c_lprintf(const c_locallogger_t *locallogger, c_logger_Severity s, int32_t line, const char *__restrict format,...)
Definitions and types for CAENLogger.h.
int32_t c_lsetsm(uint32_t sevMask)
int32_t c_lchangefile(FILE *file)
Main header and generic tools.
int32_t c_lgetsm(uint32_t *sevMask)
#define c_attribute_format(_FMT_, _ARGS_)
#define CAEN_UTILITY_DLLAPI
int32_t c_lvprintf(const c_locallogger_t *locallogger, c_logger_Severity s, int32_t line, const char *__restrict format, va_list args)
int32_t c_lresumefile(void)