|
ACTS
Experiment-independent tracking
|
Helper macros for logging with Acts::Logger.
When a logger accessible via the logger() method, see Logging Patterns, use these macros to perform the actual logging:
The macros support stream-style formatting with << operators.
Macros | |
| #define | ACTS_DEBUG(x) |
| macro for debug debug output | |
| #define | ACTS_ERROR(x) |
| macro for error debug output | |
| #define | ACTS_FATAL(x) |
| macro for fatal debug output | |
| #define | ACTS_INFO(x) |
| macro for info debug output | |
| #define | ACTS_LOCAL_LOGGER(log_object) |
| Macro to use a local Acts::Logger object. | |
| #define | ACTS_LOG(level, x) |
| #define | ACTS_VERBOSE(x) |
| macro for verbose debug output | |
| #define | ACTS_WARNING(x) |
| macro for warning debug output | |
| #define ACTS_DEBUG | ( | x | ) |
macro for debug debug output
| x | debug message |
logger() must be a valid expression in the scope where this macro is used and it must return a Acts::Logger object.The debug message is printed if the current Acts::Logging::Level <= Acts::Logging::DEBUG.
| #define ACTS_ERROR | ( | x | ) |
macro for error debug output
| x | debug message |
logger() must be a valid expression in the scope where this macro is used and it must return a Acts::Logger object.The debug message is printed if the current Acts::Logging::Level <= Acts::Logging::ERROR.
| #define ACTS_FATAL | ( | x | ) |
macro for fatal debug output
| x | debug message |
logger() must be a valid expression in the scope where this macro is used and it must return a Acts::Logger object.The debug message is printed if the current Acts::Logging::Level <= Acts::Logging::FATAL.
| #define ACTS_INFO | ( | x | ) |
macro for info debug output
| x | debug message |
logger() must be a valid expression in the scope where this macro is used and it must return a Acts::Logger object.The debug message is printed if the current Acts::Logging::Level <= Acts::Logging::INFO.
| #define ACTS_LOCAL_LOGGER | ( | log_object | ) |
Macro to use a local Acts::Logger object.
| log_object | logger instance of type |
logger is not yet defined. log_object is transferred and log_object should not be used directly any more.This macro allows to use a locally defined logging object with the ACTS_* logging macros. The envisaged usage is the following:
| #define ACTS_LOG | ( | level, | |
| x ) |
| #define ACTS_VERBOSE | ( | x | ) |
macro for verbose debug output
| x | debug message |
logger() must be a valid expression in the scope where this macro is used and it must return a Acts::Logger object.The debug message is printed if the current Acts::Logging::Level <= Acts::Logging::VERBOSE.
| #define ACTS_WARNING | ( | x | ) |
macro for warning debug output
| x | debug message |
logger() must be a valid expression in the scope where this macro is used and it must return a Acts::Logger object.The debug message is printed if the current Acts::Logging::Level <= Acts::Logging::WARNING.