diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2022-05-07 15:31:17 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rspamd.com> | 2022-05-07 15:31:17 +0100 |
commit | c020213cb55dde3baa396d0f581f65b62fe76ea8 (patch) | |
tree | bb45d28ea53cb99545f04ee1c29048dda6907a77 /src/libserver/re_cache.c | |
parent | 26689fd064825b8a31282a50c8b5d7eaefeaff10 (diff) | |
download | rspamd-c020213cb55dde3baa396d0f581f65b62fe76ea8.tar.gz rspamd-c020213cb55dde3baa396d0f581f65b62fe76ea8.zip |
[Minor] Replace some of macro uses
Diffstat (limited to 'src/libserver/re_cache.c')
-rw-r--r-- | src/libserver/re_cache.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/libserver/re_cache.c b/src/libserver/re_cache.c index 0428cfdc7..00246527e 100644 --- a/src/libserver/re_cache.c +++ b/src/libserver/re_cache.c @@ -52,24 +52,24 @@ #define msg_err_re_cache(...) rspamd_default_log_function (G_LOG_LEVEL_CRITICAL, \ "re_cache", cache->hash, \ - G_STRFUNC, \ + RSPAMD_LOG_FUNC, \ __VA_ARGS__) #define msg_warn_re_cache(...) rspamd_default_log_function (G_LOG_LEVEL_WARNING, \ "re_cache", cache->hash, \ - G_STRFUNC, \ + RSPAMD_LOG_FUNC, \ __VA_ARGS__) #define msg_info_re_cache(...) rspamd_default_log_function (G_LOG_LEVEL_INFO, \ "re_cache", cache->hash, \ - G_STRFUNC, \ + RSPAMD_LOG_FUNC, \ __VA_ARGS__) #define msg_debug_re_task(...) rspamd_conditional_debug_fast (NULL, NULL, \ rspamd_re_cache_log_id, "re_cache", task->task_pool->tag.uid, \ - G_STRFUNC, \ + RSPAMD_LOG_FUNC, \ __VA_ARGS__) #define msg_debug_re_cache(...) rspamd_conditional_debug_fast (NULL, NULL, \ rspamd_re_cache_log_id, "re_cache", cache->hash, \ - G_STRFUNC, \ + RSPAMD_LOG_FUNC, \ __VA_ARGS__) INIT_LOG_MODULE(re_cache) |