diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2011-11-29 04:52:52 +0100 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2013-01-05 17:17:50 +0100 |
commit | 53bd23d0e679746b78d0bcf9234e7b99983e6071 (patch) | |
tree | 51dd89aba98e57c026046fdfbe25ba72aab974a6 /src/frames | |
parent | a9c3f18ebc1dbb1de5c7c9d1585347ed25cc2b52 (diff) | |
download | usdx-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/frames')
-rw-r--r-- | src/frames/loading_frame.cpp | 4 | ||||
-rw-r--r-- | src/frames/loading_frame.hpp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/frames/loading_frame.cpp b/src/frames/loading_frame.cpp index afaa7d0b..fac163d6 100644 --- a/src/frames/loading_frame.cpp +++ b/src/frames/loading_frame.cpp @@ -30,8 +30,8 @@ namespace usdx { - log4cxx::LoggerPtr LoadingFrame::log = - log4cxx::Logger::getLogger("usdx.frames.loading_frame"); + log4cpp::Category& LoadingFrame::log = + log4cpp::Category::getInstance("usdx.frames.loading_frame"); LoadingFrame::LoadingFrame() : Frame(NULL) diff --git a/src/frames/loading_frame.hpp b/src/frames/loading_frame.hpp index 5ddf0bf4..80ef0951 100644 --- a/src/frames/loading_frame.hpp +++ b/src/frames/loading_frame.hpp @@ -28,14 +28,14 @@ #define LOADING_FRAME_HPP #include "frame.hpp" -#include <log4cxx/logger.h> +#include <log4cpp/Category.hh> namespace usdx { class LoadingFrame : public Frame { private: - static log4cxx::LoggerPtr log; + static log4cpp::Category& log; public: LoadingFrame(); |