distinguish panics

This commit is contained in:
Todd T.Fries 2001-05-15 16:32:41 +00:00
parent 87e75dca26
commit bc0040367d

View File

@ -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);