From 8a6d1f13b7680bc8f15ce57b8065a9bc774aa891 Mon Sep 17 00:00:00 2001 From: deva Date: Wed, 11 Feb 2009 10:04:09 +0000 Subject: Changed all printf debug outputs to new debug interface (PRACRO_DEBUG and friends). --- server/src/queryhandlerpracro.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'server/src/queryhandlerpracro.cc') diff --git a/server/src/queryhandlerpracro.cc b/server/src/queryhandlerpracro.cc index 99c31b3..8219461 100644 --- a/server/src/queryhandlerpracro.cc +++ b/server/src/queryhandlerpracro.cc @@ -26,6 +26,8 @@ */ #include "queryhandlerpracro.h" +#include "debug.h" + QueryHandlerPracro::QueryHandlerPracro(Database *db, std::string cpr) { this->cpr = cpr; @@ -52,7 +54,7 @@ QueryResult QueryHandlerPracro::exec(Query &query) result.values[field] = value; result.source = "pracro"; - printf("QHP: %s => %s (%lu)\n", field.c_str(), value.c_str(), timestamp); + PRACRO_DEBUG(queryhandler,"%s => %s (%lu)\n", field.c_str(), value.c_str(), timestamp); return result; } -- cgit v1.2.3