mirror of
https://github.com/profanity-im/profanity.git
synced 2024-09-01 19:24:15 -04:00
Default to INFO when creating log
This commit is contained in:
parent
c90c83f7e1
commit
0030ae5890
@ -172,8 +172,10 @@ log_level_from_string(char *log_level)
|
||||
return PROF_LEVEL_INFO;
|
||||
} else if (strcmp(log_level, "WARN") == 0) {
|
||||
return PROF_LEVEL_WARN;
|
||||
} else {
|
||||
} else if (strcmp(log_level, "ERROR") == 0) {
|
||||
return PROF_LEVEL_ERROR;
|
||||
} else { // default to info
|
||||
return PROF_LEVEL_INFO;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user