EPICS_PVA_DEBUG from bool to int

This commit is contained in:
Matej Sekoranja
2014-05-23 13:36:21 +02:00
parent 6b388a572e
commit 0988f0c8fb
4 changed files with 14 additions and 3 deletions
@@ -24,7 +24,7 @@ namespace epics {
void AbstractResponseHandler::handleResponse(osiSockAddr* responseFrom,
Transport::shared_pointer const & /*transport*/, int8 version, int8 command,
size_t payloadSize, ByteBuffer* payloadBuffer) {
if(_debug) {
if(_debugLevel >= 3) { // TODO make a constant of sth (0 - off, 1 - debug, 2 - more/trace, 3 - messages)
char ipAddrStr[48];
ipAddrToDottedIP(&responseFrom->ia, ipAddrStr, sizeof(ipAddrStr));