aboutsummaryrefslogtreecommitdiffstats
path: root/src/base/stats.hpp
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2011-11-29 04:52:52 +0100
committerAlexander Sulfrian <alexander@sulfrian.net>2013-01-05 17:17:50 +0100
commit53bd23d0e679746b78d0bcf9234e7b99983e6071 (patch)
tree51dd89aba98e57c026046fdfbe25ba72aab974a6 /src/base/stats.hpp
parenta9c3f18ebc1dbb1de5c7c9d1585347ed25cc2b52 (diff)
downloadusdx-53bd23d0e679746b78d0bcf9234e7b99983e6071.tar.gz
usdx-53bd23d0e679746b78d0bcf9234e7b99983e6071.tar.xz
usdx-53bd23d0e679746b78d0bcf9234e7b99983e6071.zip
ported from log4cxx to log4cpp
log4cxx depends on Apache Portable Runtime Utility Library, so we switch to log4cpp with nearly the same features but with no dependencies for easier porting to other platforms
Diffstat (limited to 'src/base/stats.hpp')
-rw-r--r--src/base/stats.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/base/stats.hpp b/src/base/stats.hpp
index b3068024..63d3a68e 100644
--- a/src/base/stats.hpp
+++ b/src/base/stats.hpp
@@ -28,7 +28,7 @@
#define STATS_HPP
#include <string>
-#include <log4cxx/logger.h>
+#include <log4cpp/Category.hh>
#include "stats_database.hpp"
namespace usdx
@@ -39,7 +39,7 @@ namespace usdx
class Stats
{
private:
- static log4cxx::LoggerPtr log;
+ static log4cpp::Category& log;
static StatDatabase *db;
static std::string filename;