From c02151f78b732c49f2ccb138860f5eec3da3a602 Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Fri, 8 Jan 2010 23:22:08 +0100 Subject: added logging using log4cxx --- src/base/database.hpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/base/database.hpp') diff --git a/src/base/database.hpp b/src/base/database.hpp index 687537cc..0c4b65d6 100644 --- a/src/base/database.hpp +++ b/src/base/database.hpp @@ -27,10 +27,11 @@ #ifndef DATABASE_HPP #define DATABASE_HPP -#include -#include +#include #include #include +#include +#include namespace usdx { @@ -40,6 +41,8 @@ namespace usdx class StatDatabase { private: + static log4cxx::LoggerPtr log; + std::string filename; sqlite3 *database; -- cgit v1.2.3