static int TheDepth; // level of nested debugging calls
};
+extern FILE *debug_log;
+
/* Debug stream */
#define debugs(SECTION, LEVEL, CONTENT) \
do { \
int Debug::Levels[MAX_DEBUG_SECTIONS];
int Debug::level;
-
+FILE *debug_log = NULL;
static char *debug_log_file = NULL;
static int Ctx_Lock = 0;
static const char *debugLogTime(void);
#include "squid.h"
#include "fde.h"
#include "SquidTime.h"
+#include "Debug.h"
int default_read_method(int, char *, int);
int default_write_method(int, const char *, int);
#include <iostream>
#include <sstream>
+/* AYJ: the debug stuff here should really be in a stub_debug.cc file for tests to link */
+
+/* for correct pre-definitions of debug objects */
+#include "Debug.h"
+
+FILE *debug_log = NULL;
+
void
xassert(const char *msg, const char *file, int line)
{