matt@oddjob.UUCP (Matt Crawford) (09/28/86)
The way net.sources is going, I should write a 4KB man page for this and shar it up and post it there! I like the following logging/debugging macro #ifndef LOGLEVEL #define LOGLEVEL 0 #endif #define LOG(n) if ( (n) > LOGLEVEL ) ; else fprintf use it like this: LOG(1)(stderr, "LISM model server starting at %s\n", tstamp()); You could instead make LOGLEVEL a variable and catch a signal to toggle it. _____________________________________________________ Matt University crawford@anl-mcs.arpa Crawford of Chicago ihnp4!oddjob!matt