14 #ifndef PCMK__LOGGING_INTERNAL_H    15 #  define PCMK__LOGGING_INTERNAL_H    29 #  define pcmk__config_err(fmt...) do {     \    30         crm_config_error = TRUE;            \    41 #  define pcmk__config_warn(fmt...) do {    \    42         crm_config_warning = TRUE;          \    59 #  define pcmk__if_tracing(if_action, else_action) do {                 \    60         static struct qb_log_callsite *trace_cs = NULL;                 \    62         if (trace_cs == NULL) {                                         \    63             trace_cs = qb_log_callsite_get(__func__, __FILE__,          \    64                                            "if_tracing", LOG_TRACE,     \    65                                            __LINE__, crm_trace_nonlog); \    67         if (crm_is_callsite_active(trace_cs, LOG_TRACE,                 \    68                                    crm_trace_nonlog)) {                 \ 
int pcmk__add_logfile(const char *filename)
Add a file to be used as a Pacemaker detail log. 
 
void pcmk__free_common_logger(void)
 
Wrappers for and extensions to libqb logging. 
 
Formatted output for pacemaker tools. 
 
void pcmk__cli_init_logging(const char *name, unsigned int verbosity)
 
This structure contains everything that makes up a single output formatter. 
 
void pcmk__add_logfiles(gchar **log_files, pcmk__output_t *out)
Add multiple additional log files.