From 77a7010cd5013b68262a9270d07bfd73711a1f02 Mon Sep 17 00:00:00 2001 From: Stephan Bosch <stephan.bosch@dovecot.fi> Date: Sun, 7 Jul 2019 13:19:19 +0200 Subject: [PATCH] lib-sieve: plugins: enotify: Add sieve_enotify_event_log(). --- src/lib-sieve/plugins/enotify/sieve-ext-enotify.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/lib-sieve/plugins/enotify/sieve-ext-enotify.h b/src/lib-sieve/plugins/enotify/sieve-ext-enotify.h index 188f8e6cd..3de112940 100644 --- a/src/lib-sieve/plugins/enotify/sieve-ext-enotify.h +++ b/src/lib-sieve/plugins/enotify/sieve-ext-enotify.h @@ -180,6 +180,11 @@ struct sieve_enotify_action { LOG_TYPE_INFO, (ENV)->location, \ SIEVE_ERROR_FLAG_GLOBAL, __VA_ARGS__ ) +#define sieve_enotify_event_log(ENV, EVENT, ...) \ + sieve_event_log((ENV)->svinst, (ENV)->ehandler, (EVENT), \ + LOG_TYPE_INFO, (ENV)->location, \ + SIEVE_ERROR_FLAG_GLOBAL, __VA_ARGS__ ) + #define sieve_enotify_global_log_error(ENV, ...) \ sieve_event_log((ENV)->svinst, (ENV)->ehandler, (ENV)->event, \ LOG_TYPE_ERROR, (ENV)->location, \ -- GitLab