Update code comments

This commit is contained in:
Ian Barwick
2015-11-19 12:55:13 +09:00
parent 0a2e4466aa
commit 46dd734b3d

9
log.c
View File

@@ -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 * generate a lot of output, particularly debug logging, and should
* not be permanently enabled in production. * 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) void logger_set_terse(void)
{ {
terse_logging = true; terse_logging = true;
} }
int int
detect_log_level(const char *level) detect_log_level(const char *level)
{ {