|
lcls2
C++ API: public headers of xtcdata, psalg, psdaq and psana
|
Declares psalg::SysLog, static wrappers around syslog(3) that tag messages by level. More...
#include <stdio.h>#include <stdarg.h>#include <syslog.h>#include <stdlib.h>Classes | |
| class | psalg::SysLog |
| Static wrappers around syslog(3): init() opens the log, and each message function prefixes the format with a level letter (D, I, W, E or C) in angle brackets. More... | |
Namespaces | |
| namespace | psalg |
| Usage. | |
Macros | |
| #define | GET_PROGRAM_NAME() getprogname() |
| Program name used in the syslog ident: program_invocation_short_name with glibc, getprogname() otherwise (this line is the non-glibc branch). | |
| #define | SYSLOG_IDENT_MAX 32 |
| Size (32) of the static ident buffer used by SysLog::init(). | |
| #define | SYSLOG_FORMAT_MAX 4096 |
| Size (4096) of the format buffer used by the SysLog message functions. | |
Declares psalg::SysLog, static wrappers around syslog(3) that tag messages by level.
| #define GET_PROGRAM_NAME | ( | ) | getprogname() |
Program name used in the syslog ident: program_invocation_short_name with glibc, getprogname() otherwise (this line is the non-glibc branch).
| #define SYSLOG_FORMAT_MAX 4096 |
Size (4096) of the format buffer used by the SysLog message functions.
| #define SYSLOG_IDENT_MAX 32 |
Size (32) of the static ident buffer used by SysLog::init().