|
CAEN Utility
2.0.2
Utilities for CAEN projects
|
Logger implemented in C. More...
#include <types/CAENLoggerTypes.h>#include <CAENUtility.h>#include <stdarg.h>#include <inttypes.h>#include <stdio.h>Go to the source code of this file.
Macros | |
| #define | LOG_ENV_FILENAME "CAEN_LOG_FILENAME" |
| #define | LOG_ENV_LEVEL "CAEN_LOG_LEVEL" |
| #define | INIT_C_LOGGER(fname, mname) static const c_locallogger_t __locallogger = { (fname), (mname) } |
| #define | vlogMsg(s, format, args) c_lvprintf(&(__locallogger), (s), (format), (args)) |
| #define | logMsg(s, ...) c_lprintf(&(__locallogger), (s), __LINE__, __VA_ARGS__) |
Functions | |
| void | c_lsetst (uint64_t time) |
| int32_t | c_lchangefile (FILE *file) |
| int32_t | c_lresumefile (void) |
| void | c_ldeinit (void) |
| int32_t | c_lsetsm (uint32_t sevMask) |
| int32_t | c_lgetsm (uint32_t *sevMask) |
| 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_lprintf (const c_locallogger_t *locallogger, c_logger_Severity s, int32_t line, const char *__restrict format,...) |
Logger implemented in C.
Definition in file CAENLogger.h.
| #define LOG_ENV_FILENAME "CAEN_LOG_FILENAME" |
Definition at line 60 of file CAENLogger.h.
| #define LOG_ENV_LEVEL "CAEN_LOG_LEVEL" |
Definition at line 61 of file CAENLogger.h.