/usr/include/purify/logging.h is in libpurify-dev 2.0.0-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | #ifndef PURIFY_LOGGING_H
#define PURIFY_LOGGING_H
#include "purify/config.h"
#ifdef PURIFY_DO_LOGGING
#include "purify/logging.enabled.h"
#else
#include "purify/logging.disabled.h"
#endif
//! \macro Normal but signigicant condition
#define PURIFY_CRITICAL(...) PURIFY_LOG_(, critical, __VA_ARGS__)
//! \macro Something is definitely wrong, algorithm exits
#define PURIFY_ERROR(...) PURIFY_LOG_(, error, __VA_ARGS__)
//! \macro Something might be going wrong
#define PURIFY_WARN(...) PURIFY_LOG_(, warn, __VA_ARGS__)
//! \macro Informational message about normal condition
//! \details Say "Residuals == "
#define PURIFY_INFO(...) PURIFY_LOG_(, info, __VA_ARGS__)
//! \macro Output some debugging
#define PURIFY_DEBUG(...) PURIFY_LOG_(, debug, __VA_ARGS__)
//! \macro Output internal values of no interest to anyone
//! \details Except maybe when debugging.
#define PURIFY_TRACE(...) PURIFY_LOG_(, trace, __VA_ARGS__)
//! High priority message
#define PURIFY_HIGH_LOG(...) PURIFY_LOG_(, critical, __VA_ARGS__)
//! Medium priority message
#define PURIFY_MEDIUM_LOG(...) PURIFY_LOG_(, info, __VA_ARGS__)
//! Low priority message
#define PURIFY_LOW_LOG(...) PURIFY_LOG_(, debug, __VA_ARGS__)
#endif
|