1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-09 00:00:04 +01:00

logs: just use a single char for most loglevels

This commit is contained in:
Andy Green 2019-08-11 20:07:14 +01:00
parent d302198019
commit 69447d0445

View file

@ -39,18 +39,18 @@ static void (*lwsl_emit)(int level, const char *line)
;
#ifndef LWS_PLAT_OPTEE
static const char * const log_level_names[] = {
"ERR",
"WARN",
"NOTICE",
"INFO",
"DEBUG",
"PARSER",
"HEADER",
"EXTENSION",
"CLIENT",
"LATENCY",
"USER",
"THREAD",
"E",
"W",
"N",
"I",
"D",
"P",
"H",
"EXT",
"C",
"L",
"U",
"T",
"?",
"?"
};