diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2022-05-13 22:11:27 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rspamd.com> | 2022-05-13 22:11:27 +0100 |
commit | 32b24e6d938192203f9d4bb61e7bbc003f6345a1 (patch) | |
tree | c00196b7d2db27e89c863102066a22b96a4af4d4 /src/libserver/logger.h | |
parent | 51bc95fb659bfe652cc734928e84d9638cd67501 (diff) | |
download | rspamd-32b24e6d938192203f9d4bb61e7bbc003f6345a1.tar.gz rspamd-32b24e6d938192203f9d4bb61e7bbc003f6345a1.zip |
[Minor] Fix some misuse cases
Diffstat (limited to 'src/libserver/logger.h')
-rw-r--r-- | src/libserver/logger.h | 4 |
1 files changed, 4 insertions, 0 deletions
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, \ |