diff options
Diffstat (limited to 'src/common/torlog.h')
-rw-r--r-- | src/common/torlog.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/common/torlog.h b/src/common/torlog.h index 8b6cd1bf02..73c690631f 100644 --- a/src/common/torlog.h +++ b/src/common/torlog.h @@ -95,8 +95,8 @@ /** Number of logging domains in the code. */ #define N_LOGGING_DOMAINS 20 -/** This log message is not safe to send to a callback-based logger. - * Used as a flag, not a log domain. */ +/** This log message is not safe to send to a callback-based logger + * immediately. Used as a flag, not a log domain. */ #define LD_NOCB (1u<<31) typedef uint32_t log_domain_mask_t; @@ -141,6 +141,7 @@ void rollback_log_changes(void); void mark_logs_temp(void); void change_callback_log_severity(int loglevelMin, int loglevelMax, log_callback cb); +void flush_pending_log_callbacks(void); void log_set_application_name(const char *name); /* Outputs a message to stdout */ |