pacemaker
3.0.0-d8340737c4
Scalable High-Availability cluster resource manager
include
crm
common
logging_compat.h
Go to the documentation of this file.
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
20
#define CRM_XS QB_XS
21
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
Generated on Wed Jan 8 2025 16:55:39 for pacemaker by
1.8.14