diff options
author | Nick Mathewson <nickm@torproject.org> | 2004-11-05 05:50:35 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2004-11-05 05:50:35 +0000 |
commit | 2e8353e2f411d2df246eb46889ef0b8ec9799654 (patch) | |
tree | 1ff26954df36c050bbcdfc14b497028914ef88f0 /src/common/log.h | |
parent | 2ba3a9de168f87912b296e37a6b03bab45a102fe (diff) | |
download | tor-2e8353e2f411d2df246eb46889ef0b8ec9799654.tar.gz tor-2e8353e2f411d2df246eb46889ef0b8ec9799654.zip |
Use new log format; convert old format to new format.
svn:r2684
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 10e6c87dc6..c2a4ea176f 100644 --- a/src/common/log.h +++ b/src/common/log.h @@ -56,6 +56,7 @@ typedef void (*log_callback)(int severity, const char *msg); 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, FILE *stream); int add_file_log(int severityMin, int severityMax, const char *filename); #ifdef HAVE_SYSLOG_H |