Fix the log level string of NONE.

This commit is contained in:
Nils O. Selåsdal
2013-11-30 04:48:26 +01:00
parent ec63c1e88f
commit bcafaace29
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -239,7 +239,7 @@ void uc_log_destination_set_module_loglevel(
* SHORT_NAME_1=LEVEL:SHORT_NAME_2=LEVEL:SHORT_NAME_N=LEVEL * SHORT_NAME_1=LEVEL:SHORT_NAME_2=LEVEL:SHORT_NAME_N=LEVEL
* *
* The SHORT_NAME_N is the .short_name within a struct uc_log_module * The SHORT_NAME_N is the .short_name within a struct uc_log_module
* LEVEL is one of DEBUG,INFO, WARNING or ERROR * LEVEL is one of DEBUG, INFO, WARNING, ERROR or NONE
* Example: * Example:
* DB=DEBUG:IO=ERROR:POLLER=INFO * DB=DEBUG:IO=ERROR:POLLER=INFO
* *
+1
View File
@@ -75,6 +75,7 @@ static const char *const g_log_levels[] = {
"WARNING", "WARNING",
"UNKNOWN_6", "UNKNOWN_6",
"ERROR", "ERROR",
"UNKNOWN_8",
"NONE" "NONE"
}; };