#include <iostream>
#include <map>
#include <string>
Include dependency graph for BESDebug.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Classes | |
class | BESDebug |
Defines | |
#define | I_BESDebug_h 1 |
top level BES object to house generic methods | |
#define | BESDEBUG(x, y) { if( BESDebug::IsSet( x ) ) *(BESDebug::GetStrm()) << y ; } |
macro used to send debug information to the debut stream | |
#define | BESISDEBUG(x) BESDebug::IsSet( x ) |
macro used to determine if the specified debug context is set |
#define BESDEBUG | ( | x, | |||
y | ) | { if( BESDebug::IsSet( x ) ) *(BESDebug::GetStrm()) << y ; } |
macro used to send debug information to the debut stream
The BESDEBUG macro is used by developers to display debug information if the specified debug context is set to true.
example:
BESDEBUG( "bes", "function entered with values " << val1 << " and " << val2 << endl )
x | the debug context to check | |
y | information to send to the output stream |
Definition at line 61 of file BESDebug.h.
Referenced by BESMemoryGlobalArea::BESMemoryGlobalArea(), BESCmdInterface::build_data_request_plan(), BESCgiInterface::build_data_request_plan(), BESMemoryManager::check_memory_pool(), BESInterface::end_request(), BESDDXResponseHandler::execute(), BESInterface::execute_data_request_plan(), CmdClient::executeCommand(), SSLServer::initConnection(), SSLClient::initConnection(), ServerApp::initialize(), DAPCommandModule::initialize(), CmdApp::initialize(), BESInterface::initialize(), BESDefaultModule::initialize(), BESDefaultCommands::initialize(), BESDapModule::initialize(), BESCmdInterface::initialize(), BESApacheInterface::initialize(), BESInterface::invoke_aggregation(), BESCache::purge(), BESMemoryManager::release_global_pool(), BESInterface::report_request(), ServerApp::run(), CmdApp::run(), ServerApp::terminate(), DAPCommandModule::terminate(), BESDefaultModule::terminate(), BESDefaultCommands::terminate(), BESDapModule::terminate(), BESInterface::transmit_data(), BESUncompressZ::uncompress(), and BESUncompressManager::uncompress().
#define BESISDEBUG | ( | x | ) | BESDebug::IsSet( x ) |
macro used to determine if the specified debug context is set
If there is a lot of debugging information, use this macro to determine if debug context is set.
example:
if( BESISDEBUG( "bes" ) ) { for( int i = 0; i < _list_size; i++ ) { BESDEBUG( "bes", " _list[" << i << "] = " << _list[i] << endl ) } }
x | bes debug to check |
Definition at line 80 of file BESDebug.h.
Referenced by BESCache::purge().
#define I_BESDebug_h 1 |