00001 // -*- C++ -*- 00002 00003 //============================================================================= 00004 /** 00005 * @file debug.h 00006 * 00007 * $Id: debug.h 74014 2006-08-14 13:52:22Z johnnyw $ 00008 * 00009 * @author DOC Group - Wash U and UCI 00010 */ 00011 //============================================================================= 00012 00013 00014 #ifndef TAO_DEBUG_H 00015 #define TAO_DEBUG_H 00016 00017 #include /**/ "ace/pre.h" 00018 00019 #include /**/ "tao/TAO_Export.h" 00020 00021 #if !defined (ACE_LACKS_PRAGMA_ONCE) 00022 # pragma once 00023 #endif /* ACE_LACKS_PRAGMA_ONCE */ 00024 00025 #include /**/ "tao/Versioned_Namespace.h" 00026 00027 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00028 00029 // These are global to simplify is use by other code, very much in 00030 // particular by getopt and related argument-parsing code 00031 // 00032 // THREADING NOTE: don't set them except in an unthreaded environment 00033 // such as process initialization. They're treated as immutable. 00034 00035 // 0 to ??; higher == more 00036 extern TAO_Export unsigned int TAO_debug_level; 00037 00038 // debug messages on (1) or off (0) 00039 extern TAO_Export unsigned int TAO_orbdebug; 00040 00041 TAO_END_VERSIONED_NAMESPACE_DECL 00042 00043 #include /**/ "ace/post.h" 00044 #endif /* TAO_DEBUG_H */