aboutsummaryrefslogtreecommitdiff
path: root/src/common/log.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2004-11-05 05:50:35 +0000
committerNick Mathewson <nickm@torproject.org>2004-11-05 05:50:35 +0000
commit2e8353e2f411d2df246eb46889ef0b8ec9799654 (patch)
tree1ff26954df36c050bbcdfc14b497028914ef88f0 /src/common/log.c
parent2ba3a9de168f87912b296e37a6b03bab45a102fe (diff)
downloadtor-2e8353e2f411d2df246eb46889ef0b8ec9799654.tar.gz
tor-2e8353e2f411d2df246eb46889ef0b8ec9799654.zip
Use new log format; convert old format to new format.
svn:r2684
Diffstat (limited to 'src/common/log.c')
-rw-r--r--src/common/log.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/common/log.c b/src/common/log.c
index f468487da3..569d6b2fa2 100644
--- a/src/common/log.c
+++ b/src/common/log.c
@@ -397,6 +397,11 @@ int parse_log_level(const char *level) {
return -1;
}
+const char *log_level_to_string(int level)
+{
+ return sev_to_string(level);
+}
+
int get_min_log_level(void)
{
logfile_t *lf;