1988-06-22 16:57:09 +00:00
|
|
|
/*
|
|
|
|
Defines and externs for the logging machine
|
|
|
|
*/
|
|
|
|
|
1994-06-24 11:31:16 +00:00
|
|
|
/* $Id$ */
|
1988-06-22 16:57:09 +00:00
|
|
|
|
|
|
|
#include "logging.h"
|
|
|
|
|
|
|
|
/********* Logging control ********/
|
|
|
|
|
|
|
|
#ifdef LOGGING
|
|
|
|
|
|
|
|
extern int must_log; /* set if logging must occur */
|
|
|
|
extern long log_start; /* inr at start of logging */
|
|
|
|
extern int logging; /* set if logging in progress */
|
|
|
|
|
|
|
|
#define LOG(a) { if (logging) do_log a; }
|
|
|
|
|
|
|
|
#else
|
|
|
|
|
|
|
|
#define LOG(a)
|
|
|
|
|
1991-12-17 15:28:58 +00:00
|
|
|
#endif /* LOGGING */
|
1988-06-22 16:57:09 +00:00
|
|
|
|