2 #include "smaug/utility/debug_stream.h"
6 static int globalDebugLevel = -1;
7 static DebugStream nullStream(
false);
8 static DebugStream debugStream(
true);
11 assert(globalDebugLevel == -1 &&
12 "Debug stream cannot initialized more than once!");
13 globalDebugLevel = debugLevel;
17 if (debugLevel >= 0 && debugLevel <= globalDebugLevel)