/* Copyright (c) 2017-2018 Dovecot authors, see the included COPYING file */
#include "lib.h"
#include "str.h"
#include "event-filter.h"
#include "lib-event-private.h"
const char *source_filename, unsigned int source_linenum,
const char *fmt, ...)
{
};
}
const char *source_filename, unsigned int source_linenum,
const char *fmt, ...)
{
};
}
const char *source_filename, unsigned int source_linenum,
const char *fmt, ...)
{
};
}
const char *source_filename, unsigned int source_linenum,
const char *fmt, ...)
{
};
}
bool *replace_prefix)
{
if (event->log_prefix_replace) {
/* this event replaces all parent log prefixes */
*replace_prefix = TRUE;
/* append to default log prefix, don't replace it */
} else {
}
}
return ret;
}
const char *fmt, ...)
{
}
static bool
unsigned int source_linenum)
{
if (event->forced_debug)
return TRUE;
}
unsigned int source_linenum)
{
if (event->sending_debug_log)
return TRUE;
/* see if debug send filtering matches */
if (global_debug_send_filter != NULL) {
return TRUE;
}
return FALSE;
}
static void ATTR_FORMAT(3, 0)
{
};
/* keep log prefix as it is */
} else if (replace_prefix) {
/* event overrides the log prefix (even if it's "") */
} else {
/* append to log prefix, but don't fully replace it */
}
}
{
}
event_unref(&event);
}
{
return event;
}
{
}
{
return global_debug_log_filter;
}
void event_unset_global_debug_log_filter(void)
{
if (global_debug_log_filter != NULL)
}
{
}
{
return global_debug_send_filter;
}
void event_unset_global_debug_send_filter(void)
{
if (global_debug_send_filter != NULL)
}