distinguish panics
This commit is contained in:
parent
87e75dca26
commit
bc0040367d
@ -195,6 +195,9 @@ iofunctions::out(int f, int l, char *prefix, char *fmt, va_list ap)
|
||||
if(prefix != NULL)
|
||||
fprintf(logfd, "%s ", prefix);
|
||||
|
||||
if(l==LOGLEV_PANIC)
|
||||
fprintf(logfd, ">>PANIC<< ");
|
||||
|
||||
vfprintf(logfd, fmt, ap);
|
||||
fflush(logfd);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user