diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2023-05-03 12:08:01 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rspamd.com> | 2023-05-03 12:08:01 +0100 |
commit | b84be53f907dba8aeab2bf2d9cb5b5b0d6d858fe (patch) | |
tree | b0499004cfdb7b21b476cbd28dcab2829f6636e7 /src/libserver/logger.h | |
parent | e92b112a8a2bc41e1157246252482e0604b652eb (diff) | |
download | rspamd-b84be53f907dba8aeab2bf2d9cb5b5b0d6d858fe.tar.gz rspamd-b84be53f907dba8aeab2bf2d9cb5b5b0d6d858fe.zip |
[Minor] Add some more debug to the fasttext classifier
Diffstat (limited to 'src/libserver/logger.h')
-rw-r--r-- | src/libserver/logger.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libserver/logger.h b/src/libserver/logger.h index 164e0b97e..f6abec658 100644 --- a/src/libserver/logger.h +++ b/src/libserver/logger.h @@ -168,6 +168,9 @@ gint rspamd_logger_add_debug_module (const gchar *mod); rspamd_##mname##_log_id = rspamd_logger_add_debug_module(#mname); \ } +#define EXTERN_LOG_MODULE_DEF(mname) \ + extern gint rspamd_##mname##_log_id + void rspamd_logger_configure_modules (GHashTable *mods_enabled); /** |