From 32b24e6d938192203f9d4bb61e7bbc003f6345a1 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Fri, 13 May 2022 22:11:27 +0100 Subject: [Minor] Fix some misuse cases --- src/libserver/logger.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/libserver/logger.h') diff --git a/src/libserver/logger.h b/src/libserver/logger.h index 8f1177666..ae3ea4694 100644 --- a/src/libserver/logger.h +++ b/src/libserver/logger.h @@ -302,6 +302,10 @@ extern guint rspamd_task_log_id; task->task_pool->tag.tagname, task->task_pool->tag.uid, \ RSPAMD_LOG_FUNC, \ __VA_ARGS__) +#define msg_info_task_lambda(...) rspamd_default_log_function (G_LOG_LEVEL_INFO, \ + task->task_pool->tag.tagname, task->task_pool->tag.uid, \ + log_func, \ + __VA_ARGS__) #define msg_debug_task(...) rspamd_conditional_debug_fast (NULL, task->from_addr, \ rspamd_task_log_id, "task", task->task_pool->tag.uid, \ RSPAMD_LOG_FUNC, \ -- cgit v1.2.3