aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil/logger.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-10-07 16:30:55 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-10-07 16:30:55 +0100
commit883bd841dc50fc667c3fed745feef4f099566c2a (patch)
treec8111fa3a777bb7b5f14c789e3dcc107c2a5984f /src/libutil/logger.h
parent1b7855b977da0fced44d3b4cedaeb2d56b6d7513 (diff)
downloadrspamd-883bd841dc50fc667c3fed745feef4f099566c2a.tar.gz
rspamd-883bd841dc50fc667c3fed745feef4f099566c2a.zip
[Feature] Improve logging locking logic (remove it actually)
Diffstat (limited to 'src/libutil/logger.h')
-rw-r--r--src/libutil/logger.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/libutil/logger.h b/src/libutil/logger.h
index e56c37aad..1dff75211 100644
--- a/src/libutil/logger.h
+++ b/src/libutil/logger.h
@@ -169,16 +169,6 @@ void rspamd_log_debug (rspamd_logger_t *logger);
void rspamd_log_nodebug (rspamd_logger_t *logger);
/**
- * Turn off locking on logger (useful to avoid races)
- */
-void rspamd_log_nolock (rspamd_logger_t *logger);
-
-/**
- * Turn on locking to avoid log output mix
- */
-void rspamd_log_lock (rspamd_logger_t *logger);
-
-/**
* Return array of counters (4 numbers):
* 0 - errors
* 1 - warnings