projects
/
shibboleth
/
cpp-xmltooling.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Multi-line svn commit, see body.
[shibboleth/cpp-xmltooling.git]
/
xmltooling
/
util
/
NDC.cpp
diff --git
a/xmltooling/util/NDC.cpp
b/xmltooling/util/NDC.cpp
index
249cc96
..
ac23379
100644
(file)
--- a/
xmltooling/util/NDC.cpp
+++ b/
xmltooling/util/NDC.cpp
@@
-21,23
+21,28
@@
*/
#include "internal.h"
*/
#include "internal.h"
+#include "logging.h"
#include "util/NDC.h"
#include "util/NDC.h"
-#include <log4cpp/NDC.hh>
+#if defined(XMLTOOLING_LOG4SHIB)
+# include <log4shib/NDC.hh>
+#elif defined(XMLTOOLING_LOG4CPP)
+# include <log4cpp/NDC.hh>
+#endif
using namespace xmltooling;
NDC::NDC(const char* context)
{
using namespace xmltooling;
NDC::NDC(const char* context)
{
- log
4cpp
::NDC::push(context);
+ log
ging
::NDC::push(context);
}
NDC::NDC(const std::string& context)
{
}
NDC::NDC(const std::string& context)
{
- log
4cpp
::NDC::push(context);
+ log
ging
::NDC::push(context);
}
NDC::~NDC()
{
}
NDC::~NDC()
{
- log
4cpp
::NDC::pop();
+ log
ging
::NDC::pop();
}
}