1 /* 2 * Copyright 2024 the Pacemaker project contributors 3 * 4 * The version control history for this file may have further details. 5 * 6 * This source code is licensed under the GNU General Public License version 2 7 * or later (GPLv2+) WITHOUT ANY WARRANTY. 8 */ 9 10 #ifndef PCMK__CRM_COMMON_LOGGING_COMPAT__H 11 #define PCMK__CRM_COMMON_LOGGING_COMPAT__H 12 13 #include <qb/qblog.h> // qb_log_ctl(), QB_LOG_CONF_EXTENDED 14 15 #ifdef __cplusplus 16 extern "C" { 17 #endif 18 19 //! \deprecated use QB_XS instead 20 #define CRM_XS QB_XS 21 22 //! \deprecated Use qb_log_ctl() directly instead 23 #define crm_extended_logging(t, e) qb_log_ctl((t), QB_LOG_CONF_EXTENDED, (e)) 24 25 #ifdef __cplusplus 26 } 27 #endif 28 29 #endif // PCMK__CRM_COMMON_LOGGING_COMPAT__H