[logger] New logdomain L_WEB for websocket/jsonapi implementation

This commit is contained in:
chme 2017-08-12 20:00:12 +02:00
parent 9275f7a938
commit a04604f693
2 changed files with 3 additions and 2 deletions

View File

@ -45,7 +45,7 @@ static int threshold;
static int console = 1;
static char *logfilename;
static FILE *logfile;
static char *labels[] = { "config", "daap", "db", "httpd", "http", "main", "mdns", "misc", "rsp", "scan", "xcode", "event", "remote", "dacp", "ffmpeg", "artwork", "player", "raop", "laudio", "dmap", "dbperf", "spotify", "lastfm", "cache", "mpd", "stream", "cast", "fifo", "lib" };
static char *labels[] = { "config", "daap", "db", "httpd", "http", "main", "mdns", "misc", "rsp", "scan", "xcode", "event", "remote", "dacp", "ffmpeg", "artwork", "player", "raop", "laudio", "dmap", "dbperf", "spotify", "lastfm", "cache", "mpd", "stream", "cast", "fifo", "lib", "web" };
static char *severities[] = { "FATAL", "LOG", "WARN", "INFO", "DEBUG", "SPAM" };
/* We need our own check to avoid nested locking or recursive calls */

View File

@ -35,8 +35,9 @@
#define L_CAST 26
#define L_FIFO 27
#define L_LIB 28
#define L_WEB 29
#define N_LOGDOMAINS 29
#define N_LOGDOMAINS 30
/* Severities */
#define E_FATAL 0