summaryrefslogtreecommitdiff
path: root/TAO/tao/debug.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/debug.cpp')
-rw-r--r--TAO/tao/debug.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/TAO/tao/debug.cpp b/TAO/tao/debug.cpp
new file mode 100644
index 00000000000..3b2fdad7cb4
--- /dev/null
+++ b/TAO/tao/debug.cpp
@@ -0,0 +1,18 @@
+// THREADING NOTE: the global values here (debug_{level,filter,stream)
+// are assumed to be modified "safely", e.g. in the main thread as
+// part of process initialization. They are treated as immutable
+// values through all of this debuging package.
+//
+// XXX on Windows, make it always use OutputDebugString () instead of stdio.
+
+#include "tao/debug.h"
+
+ACE_RCSID (tao,
+ debug,
+ "$Id$")
+
+TAO_BEGIN_VERSIONED_NAMESPACE_DECL
+
+TAO_Export unsigned int TAO_debug_level = 0;
+
+TAO_END_VERSIONED_NAMESPACE_DECL