aboutsummaryrefslogtreecommitdiff
path: root/src/common/log.h
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2008-03-27 17:25:49 +0000
committerPeter Palfrader <peter@palfrader.org>2008-03-27 17:25:49 +0000
commit9d132fbde6e776f2c4f18772deffa2a90faa7975 (patch)
treec7e07da3cbe92da81145ff482435238ee3b99ae0 /src/common/log.h
parent3bc512cfe2ad26870407d1365028aa5d1c40a73a (diff)
downloadtor-9d132fbde6e776f2c4f18772deffa2a90faa7975.tar.gz
tor-9d132fbde6e776f2c4f18772deffa2a90faa7975.zip
Add --hush switch.
New --hush command-line option similar to --quiet. While --quiet disables all logging to the console on startup, --hush limits the output to messages of warning and error severity. svn:r14222
Diffstat (limited to 'src/common/log.h')
-rw-r--r--src/common/log.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/log.h b/src/common/log.h
index c752d40b85..2204ad1c72 100644
--- a/src/common/log.h
+++ b/src/common/log.h
@@ -130,7 +130,7 @@ int add_callback_log(log_severity_list_t *severity, log_callback cb);
int get_min_log_level(void);
void switch_logs_debug(void);
void logs_free_all(void);
-void add_temp_log(void);
+void add_temp_log(int min_severity);
void close_temp_logs(void);
void rollback_log_changes(void);
void mark_logs_temp(void);