Logger implemented in C.
More...
#include <CAENLogger.h>
#include <stdlib.h>
#include <CAENMultiplatform.h>
#include <CAENThread.h>
Go to the source code of this file.
|
| static int32_t | _lopenfile (void) |
| |
| static bool | _lcheckmask (uint32_t mask) |
| |
| static bool | _lisconfigured (void) |
| |
| static bool | _lisconfigured_locked (void) |
| |
| static void | _lfreeglobal (void) |
| |
| static int32_t | _lvprintf (const char *module_tree, c_logger_Severity s, int32_t line, const char *__restrict fmt, va_list args) |
| |
| static int32_t | _lvprintf_s (const char *module_tree, c_logger_Severity s, int32_t line, const char *__restrict fmt, va_list args) |
| |
| static int32_t | _lconfigure (const char *filename, c_logger_OpenMode_t om) |
| |
| void | c_lsetst (uint64_t time) |
| |
| int32_t | c_lchangefile (FILE *file) |
| |
| int32_t | c_lresumefile (void) |
| |
| int32_t | c_lsetsm (uint32_t sevMask) |
| |
| int32_t | c_lgetsm (uint32_t *sevMask) |
| |
| int32_t | c_lprintf (const c_locallogger_t *locallogger, c_logger_Severity s, int32_t line, const char *__restrict fmt,...) |
| |
| int32_t | c_lvprintf (const c_locallogger_t *locallogger, c_logger_Severity s, int32_t line, const char *__restrict fmt, va_list args) |
| |
| void | c_ldeinit (void) |
| |
Logger implemented in C.
- Author
Definition in file CAENLogger.c.
◆ _lopenfile()
| static int32_t _lopenfile |
( |
void |
| ) |
|
|
static |
◆ _lcheckmask()
| static bool _lcheckmask |
( |
uint32_t |
mask | ) |
|
|
static |
◆ _lisconfigured()
| static bool _lisconfigured |
( |
void |
| ) |
|
|
static |
◆ _lisconfigured_locked()
| static bool _lisconfigured_locked |
( |
void |
| ) |
|
|
static |
◆ _lfreeglobal()
| static void _lfreeglobal |
( |
void |
| ) |
|
|
static |
◆ _lvprintf()
| static int32_t _lvprintf |
( |
const char * |
module_tree, |
|
|
c_logger_Severity |
s, |
|
|
int32_t |
line, |
|
|
const char *__restrict |
fmt, |
|
|
va_list |
args |
|
) |
| |
|
static |
◆ _lvprintf_s()
| static int32_t _lvprintf_s |
( |
const char * |
module_tree, |
|
|
c_logger_Severity |
s, |
|
|
int32_t |
line, |
|
|
const char *__restrict |
fmt, |
|
|
va_list |
args |
|
) |
| |
|
static |
◆ _lconfigure()
◆ lConfiguredMask
| const uint32_t lConfiguredMask = 0xcafecae0 |
|
static |
◆ lSeverityMask
◆ lStartTimeMs
| uint64_t lStartTimeMs = 0 |
|
static |
◆ lGlobal
◆ lSeverityMap
| const char lSeverityMap[][3] |
|
static |
Initial value:= {
"UU",
"EE",
"WW",
"UU",
"II",
"UU",
"UU",
"UU",
"DD",
}
Definition at line 67 of file CAENLogger.c.