|
|
#define | daslog_trace(M) daslog(DASLOG_TRACE, __FILE__, __LINE__, M) |
| | Macro wrapper around das_log() for TRACE messages with out variable args.
|
| |
|
#define | daslog_debug(M) daslog(DASLOG_DEBUG, __FILE__, __LINE__, M) |
| | Macro wrapper around das_log() for DEBUG messages with out variable args.
|
| |
|
#define | daslog_info(M) daslog(DASLOG_INFO, __FILE__, __LINE__, M) |
| | Macro wrapper around das_log() for INFO messages with out variable args.
|
| |
|
#define | daslog_warn(M) daslog(DASLOG_WARN, __FILE__, __LINE__, M) |
| | Macro wrapper around das_log() for WARNING messages with out variable args.
|
| |
|
#define | daslog_error(M) daslog(DASLOG_ERROR, __FILE__, __LINE__, M) |
| | Macro wrapper around das_log() for ERROR messages with out variable args.
|
| |
|
#define | daslog_critical(M) daslog(DASLOG_CRIT, __FILE__, __LINE__, M) |
| | Macro wrapper around das_log() for CRITICAL messages with out variable args.
|
| |
|
#define | daslog_trace_v(F, ...) daslog(DASLOG_TRACE, __FILE__, __LINE__, F, __VA_ARGS__) |
| | Macro wrapper around das_log() for TRACE messages with variable arguments.
|
| |
|
#define | daslog_debug_v(F, ...) daslog(DASLOG_DEBUG, __FILE__, __LINE__, F, __VA_ARGS__) |
| | Macro wrapper around das_log() for DEBUG messages with variable arguments.
|
| |
|
#define | daslog_info_v(F, ...) daslog(DASLOG_INFO, __FILE__, __LINE__, F, __VA_ARGS__) |
| | Macro wrapper around das_log() for INFO messages with variable arguments.
|
| |
|
#define | daslog_warn_v(F, ...) daslog(DASLOG_WARN, __FILE__, __LINE__, F, __VA_ARGS__) |
| | Macro wrapper around das_log() for WARNING messages with variable arguments.
|
| |
|
#define | daslog_error_v(F, ...) daslog(DASLOG_ERROR, __FILE__, __LINE__, F, __VA_ARGS__) |
| | Macro wrapper around das_log() for ERROR messages with variable arguments.
|
| |
|
#define | daslog_critical_v(F, ...) daslog(DASLOG_CRIT, __FILE__, __LINE__, F, __VA_ARGS__) |
| | Macro wrapper around das_log() for CRITICAL messages with variable arguments.
|
| |
Simple message logging.
Generic thread safe logging. By default messages are simply printed to standard error, use das_log_sethandler() to send messages some where else. All log messages are sent via das_log(), however the following convenience macros make for less typing:
For example a log line such as:
das_warn_v("File %s, Pkt %05d: Header Block > 256 bytes", sFile, nIdx);
is equivalent to:
das_log(DAS_LL_WARN, __FILE__, __LINE__,
"File %s, Pkt %05d: Header Block > 256 bytes", sFile, nIdx);
but shorter.