org.mule.module.cxf.feature
Class PrettyLoggingFeature
java.lang.Object
org.apache.cxf.feature.AbstractFeature
org.apache.cxf.feature.LoggingFeature
org.mule.module.cxf.feature.PrettyLoggingFeature
- All Implemented Interfaces:
- org.apache.cxf.feature.Feature
public class PrettyLoggingFeature
- extends org.apache.cxf.feature.LoggingFeature
Same as the standard CXF LoggingFeature, but with pretty-printed XML
for the message payload.
Method Summary |
protected static String |
formatXmlPayload(String originalLogString)
Takes the log output from the standard CXF LoggingInterceptor,
disassembles it, pretty-prints the XML payload, then puts it all back
together again. |
protected void |
initializeProvider(org.apache.cxf.interceptor.InterceptorProvider provider,
org.apache.cxf.Bus bus)
|
Methods inherited from class org.apache.cxf.feature.LoggingFeature |
getLimit, isPrettyLogging, setLimit, setPrettyLogging |
Methods inherited from class org.apache.cxf.feature.AbstractFeature |
getActive, initialize, initialize, initialize, initialize |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PrettyLoggingFeature
public PrettyLoggingFeature()
initializeProvider
protected void initializeProvider(org.apache.cxf.interceptor.InterceptorProvider provider,
org.apache.cxf.Bus bus)
- Overrides:
initializeProvider
in class org.apache.cxf.feature.LoggingFeature
formatXmlPayload
protected static String formatXmlPayload(String originalLogString)
- Takes the log output from the standard CXF LoggingInterceptor,
disassembles it, pretty-prints the XML payload, then puts it all back
together again.
Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.