aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/worker_util.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2021-10-21 14:55:19 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2021-10-21 14:55:19 +0100
commit0261cb3c5f37b3cb6a6a1c5850b11d29838e4e0e (patch)
treea026aae81dcbf301fd959a0f7baf2c7326f9e06e /src/libserver/worker_util.h
parente3abfdcad00b09fae471e9011839f6242126757a (diff)
downloadrspamd-0261cb3c5f37b3cb6a6a1c5850b11d29838e4e0e.tar.gz
rspamd-0261cb3c5f37b3cb6a6a1c5850b11d29838e4e0e.zip
[Minor] Fix log objects for C++
Diffstat (limited to 'src/libserver/worker_util.h')
-rw-r--r--src/libserver/worker_util.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libserver/worker_util.h b/src/libserver/worker_util.h
index 67d598b88..a67a966ca 100644
--- a/src/libserver/worker_util.h
+++ b/src/libserver/worker_util.h
@@ -292,19 +292,19 @@ gboolean rspamd_worker_hyperscan_ready (struct rspamd_main *rspamd_main,
#define msg_err_main(...) rspamd_default_log_function (G_LOG_LEVEL_CRITICAL, \
rspamd_main->server_pool->tag.tagname, rspamd_main->server_pool->tag.uid, \
- G_STRFUNC, \
+ RSPAMD_LOG_FUNC, \
__VA_ARGS__)
#define msg_warn_main(...) rspamd_default_log_function (G_LOG_LEVEL_WARNING, \
rspamd_main->server_pool->tag.tagname, rspamd_main->server_pool->tag.uid, \
- G_STRFUNC, \
+ RSPAMD_LOG_FUNC, \
__VA_ARGS__)
#define msg_notice_main(...) rspamd_default_log_function (G_LOG_LEVEL_MESSAGE, \
rspamd_main->server_pool->tag.tagname, rspamd_main->server_pool->tag.uid, \
- G_STRFUNC, \
+ RSPAMD_LOG_FUNC, \
__VA_ARGS__)
#define msg_info_main(...) rspamd_default_log_function (G_LOG_LEVEL_INFO, \
rspamd_main->server_pool->tag.tagname, rspamd_main->server_pool->tag.uid, \
- G_STRFUNC, \
+ RSPAMD_LOG_FUNC, \
__VA_ARGS__)
#ifdef __cplusplus