![]() |
Bayeux
3.4.1
Core Foundation library for SuperNEMO
|
Macros associated to logging utilities. More...
#include <sstream>#include <iostream>#include <boost/current_function.hpp>#include <datatools/logger.h>Go to the source code of this file.
Macros | |
| #define | DT_LOG_FATAL(Priority, Message) |
| #define | DT_LOG_CRITICAL(Priority, Message) |
| #define | DT_LOG_ERROR(Priority, Message) |
| #define | DT_LOG_WARNING(Priority, Message) |
| #define | DT_LOG_NOTICE(Priority, Message) |
| #define | DT_LOG_INFORMATION(Priority, Message) |
| #define | DT_LOG_DEBUG(Priority, Message) |
| Log Message if Priority is greater or equal to PRIO_DEBUG. More... | |
| #define | DT_LOG_INFORMATION_SHORT(Priority, Message) |
| #define | DT_LOG_NOTICE_SHORT(Priority, Message) |
| #define | DT_LOG_DEBUG_SHORT(Priority, Message) |
| #define | DT_LOG_TRACE(Priority, Message) |
| Log Message if Priority is greater or equal to PRIO_TRACE. More... | |
| #define | DT_LOG_TRACE_SHORT(Priority, Message) |
| #define | DT_LOG_TRACE_ENTERING(Priority) |
| Log a fonction entering message if Priority is greater or equal to PRIO_TRACE. More... | |
| #define | DT_LOG_TRACE_EXITING(Priority) |
| Log a fonction exiting message if Priority is greater or equal to PRIO_TRACE. More... | |
Macros associated to logging utilities.
| #define DT_LOG_CRITICAL | ( | Priority, | |
| Message | |||
| ) |
Log Message if Priority is greater or equal to PRIO_CRITICAL
Example:
| #define DT_LOG_DEBUG | ( | Priority, | |
| Message | |||
| ) |
Log Message if Priority is greater or equal to PRIO_DEBUG.
| #define DT_LOG_DEBUG_SHORT | ( | Priority, | |
| Message | |||
| ) |
Log Message if Priority is greater or equal to PRIO_DEBUG (short format)
Log message short format is expected to be used after a call to the normal DT_LOG_DEBUG macro. Example:
| #define DT_LOG_ERROR | ( | Priority, | |
| Message | |||
| ) |
Log Message if Priority is greater or equal to PRIO_ERROR
Example:
| #define DT_LOG_FATAL | ( | Priority, | |
| Message | |||
| ) |
Log Message if Priority is greater or equal to PRIO_FATAL
Example:
| #define DT_LOG_INFORMATION | ( | Priority, | |
| Message | |||
| ) |
Log Message if Priority is greater or equal to PRIO_INFORMATION
Example:
| #define DT_LOG_INFORMATION_SHORT | ( | Priority, | |
| Message | |||
| ) |
Log Message if Priority is greater or equal to PRIO_INFORMATION (short format)
Log message short format is expected to be used after a call to the normal DT_LOG_INFORMATION macro. Example:
| #define DT_LOG_NOTICE | ( | Priority, | |
| Message | |||
| ) |
Log Message if Priority is greater or equal to PRIO_NOTICE
Example:
| #define DT_LOG_NOTICE_SHORT | ( | Priority, | |
| Message | |||
| ) |
Log Message if Priority is greater or equal to PRIO_NOTICE (short format)
Log message short format is expected to be used after a call to the normal DT_LOG_NOTICE macro. Example:
| #define DT_LOG_TRACE | ( | Priority, | |
| Message | |||
| ) |
Log Message if Priority is greater or equal to PRIO_TRACE.
| #define DT_LOG_TRACE_ENTERING | ( | Priority | ) |
Log a fonction entering message if Priority is greater or equal to PRIO_TRACE.
| #define DT_LOG_TRACE_EXITING | ( | Priority | ) |
Log a fonction exiting message if Priority is greater or equal to PRIO_TRACE.
| #define DT_LOG_TRACE_SHORT | ( | Priority, | |
| Message | |||
| ) |
Log Message if Priority is greater or equal to PRIO_TRACE (short format)
Log message short format is expected to be used after a call to the normal DT_LOG_TRACE macro. Example:
| #define DT_LOG_WARNING | ( | Priority, | |
| Message | |||
| ) |
Log Message if Priority is greater or equal to PRIO_WARNING
Example:
1.8.15