projects
/
shibboleth
/
cpp-xmltooling.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
df86970
)
log stream operator doesn't work on clang
author
Scott Cantor
<cantor.2@osu.edu>
Sat, 8 Dec 2012 03:26:38 +0000
(
03:26
+0000)
committer
Scott Cantor
<cantor.2@osu.edu>
Sat, 8 Dec 2012 03:26:38 +0000
(
03:26
+0000)
xmltooling/soap/impl/SOAPClient.cpp
patch
|
blob
|
history
diff --git
a/xmltooling/soap/impl/SOAPClient.cpp
b/xmltooling/soap/impl/SOAPClient.cpp
index
01a1789
..
e8c924d
100644
(file)
--- a/
xmltooling/soap/impl/SOAPClient.cpp
+++ b/
xmltooling/soap/impl/SOAPClient.cpp
@@
-185,13
+185,9
@@
Envelope* SOAPClient::receive()
Category& log = Category::getInstance(XMLTOOLING_LOGCAT".SOAPClient");
if (log.isDebugEnabled()) {
Category& log = Category::getInstance(XMLTOOLING_LOGCAT".SOAPClient");
if (log.isDebugEnabled()) {
-#ifdef XMLTOOLING_LOG4SHIB
- log.debugStream() << "received XML:\n" << *(doc->getDocumentElement()) << logging::eol;
-#else
string buf;
XMLHelper::serialize(doc->getDocumentElement(), buf);
log.debugStream() << "received XML:\n" << buf << logging::eol;
string buf;
XMLHelper::serialize(doc->getDocumentElement(), buf);
log.debugStream() << "received XML:\n" << buf << logging::eol;
-#endif
}
auto_ptr<XMLObject> xmlObject(XMLObjectBuilder::buildOneFromElement(doc->getDocumentElement(), true));
}
auto_ptr<XMLObject> xmlObject(XMLObjectBuilder::buildOneFromElement(doc->getDocumentElement(), true));