]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Reduce C++ stuff demangling in logging
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 23 Jul 2021 16:36:31 +0000 (17:36 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 23 Jul 2021 16:36:31 +0000 (17:36 +0100)
src/libserver/css/css.hxx
src/libserver/html/html.cxx

index 21114cc86019249ad6cc5c4cf3bead8b68591f74..2d1ece7576494670b2047eab742077d67a2d282a 100644 (file)
@@ -36,11 +36,11 @@ extern unsigned int rspamd_css_log_id;
 
 #define msg_debug_css(...)  rspamd_conditional_debug_fast (NULL, NULL, \
         rspamd_css_log_id, "css", pool->tag.uid, \
-        G_STRFUNC, \
+        __FUNCTION__, \
         __VA_ARGS__)
 #define msg_err_css(...) rspamd_default_log_function (G_LOG_LEVEL_CRITICAL, \
         "css", pool->tag.uid, \
-        G_STRFUNC, \
+        __FUNCTION__, \
         __VA_ARGS__)
 
 class css_style_sheet {
index 0cf9505319c4aaf78702863c82c8046838b154d7..30607a8da5a4c2f9ea016814832842289630e225 100644 (file)
@@ -66,7 +66,7 @@ auto html_components_map = frozen::make_unordered_map<frozen::string, html_compo
 
 #define msg_debug_html(...)  rspamd_conditional_debug_fast (NULL, NULL, \
         rspamd_html_log_id, "html", pool->tag.uid, \
-        G_STRFUNC, \
+        __FUNCTION__, \
         __VA_ARGS__)
 
 INIT_LOG_MODULE(html)