int print (int level, const char *format,...)
PANIC
WARNING
SILENT
STD
DEBUG
DBG
Special calls :
print(SET_SIG_LEVEL, level) to set global level.
print(OPEN_LOGFILE, "logfile") to open a log file of all output (except NORET's)
print(CLOSE_LOGFILE, "logfile") to close the log file.
print(STD, "#c#c!",'O','K'); produces "OK!" on stdout and in logfile if open print(PANIC,"Not OK"); produces "Not OK" on stderr and logfile if open
1.0 29/10-96 Ulrik Kjems