Logo Search packages:      
Sourcecode: capisuite version File versions  Download package

void Connection::debugMessage ( string  message,
unsigned short  level 
)

Output debug message.

This is intended for external use if some other part of the application wants to make a log entry. For internal use in this class just output to the stream "debug".

Parameters:
message the message to print
level the debug level of the given message (see capisuite.conf for explanation)

Definition at line 313 of file connection.cpp.

References debug, debug_level, and prefix().

Referenced by capisuite_log(), capisuitemodule_destruct_connection(), AudioReceive::dataIn(), and Switch2FaxG3::mainLoop().

{
      if (debug_level >= level)
            debug << prefix() << message << endl;
}


Generated by  Doxygen 1.6.0   Back to index