diff options
author | Nick Mathewson <nickm@torproject.org> | 2008-01-02 05:38:53 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2008-01-02 05:38:53 +0000 |
commit | c0ec2815652842bdb2b533c2a8ddd125f26730fb (patch) | |
tree | e78f5db19a5bbb0634b39a0ad8172d6cd4029795 /src/common/log.h | |
parent | feb1c60e9d4cf6f3f17feabd7278ace97c5fd3ed (diff) | |
download | tor-c0ec2815652842bdb2b533c2a8ddd125f26730fb.tar.gz tor-c0ec2815652842bdb2b533c2a8ddd125f26730fb.zip |
r15784@tombo: nickm | 2008-01-02 00:38:06 -0500
Fix bug 575: protect the list of logs with a mutex. I couldn't find any appreciable change in logging performance on osx, but ymmv. You can undef USE_LOG_MUTEX to see if stuff gets faster for you.
svn:r13019
Diffstat (limited to 'src/common/log.h')
-rw-r--r-- | src/common/log.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/log.h b/src/common/log.h index d2693744bd..6c86dd3788 100644 --- a/src/common/log.h +++ b/src/common/log.h @@ -94,6 +94,7 @@ /** Callback type used for add_callback_log. */ typedef void (*log_callback)(int severity, uint32_t domain, const char *msg); +void init_logging(void); int parse_log_level(const char *level); const char *log_level_to_string(int level); void add_stream_log(int severityMin, int severityMax, const char *name, |