From 3072139d0683e7249f8317cf3adfebc4f196a9ef Mon Sep 17 00:00:00 2001 From: Ian Barwick Date: Thu, 19 Nov 2015 12:55:13 +0900 Subject: [PATCH] Update code comments --- log.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/log.c b/log.c index 6f9972e6..8b2aa958 100644 --- a/log.c +++ b/log.c @@ -260,7 +260,7 @@ logger_shutdown(void) } /* - * Indicated whether extra-verbose logging is required. This will + * Indicate whether extra-verbose logging is required. This will * generate a lot of output, particularly debug logging, and should * not be permanently enabled in production. * @@ -274,11 +274,18 @@ logger_set_verbose(void) } +/* + * Indicate whether some non-critical log messages can be omitted. + * Currently this includes warnings about irrelevant command line + * options and hints. + */ + void logger_set_terse(void) { terse_logging = true; } + int detect_log_level(const char *level) {