summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/common/Utils.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/common/Utils.cpp b/lib/common/Utils.cpp
index ae06dc70..5dc03124 100644
--- a/lib/common/Utils.cpp
+++ b/lib/common/Utils.cpp
@@ -20,6 +20,7 @@
#include "Utils.h"
#include "CommonException.h"
+#include "Logging.h"
#include "MemLeakFindOn.h"
@@ -71,11 +72,11 @@ void DumpStackBacktrace()
size = backtrace (array, 10);
strings = backtrace_symbols (array, size);
- printf ("Obtained %zd stack frames.\n", size);
+ BOX_TRACE("Obtained " << size << " stack frames.");
for(i = 0; i < size; i++)
{
- printf("%s\n", strings[i]);
+ BOX_TRACE(strings[i]);
}
#include "MemLeakFindOff.h"