Fix log levels
This commit is contained in:
@@ -60,7 +60,8 @@ LogMessage parse_log_line(const char *line) {
|
||||
|
||||
if (strstr(line, "::warning")) msg.level = strdup("Warning");
|
||||
else if (strstr(line, "::error")) msg.level = strdup("Error");
|
||||
else msg.level = strdup("Info");
|
||||
else if (strstr(line, "::notice")) msg.level = strdup("Notice");
|
||||
else msg.level = strdup("Debug");
|
||||
|
||||
|
||||
msg.file = extract_field(line, "file=");
|
||||
|
||||
Reference in New Issue
Block a user