Package org.wso2.carbon.mediator.log
Class LogMediator
- java.lang.Object
-
- org.wso2.carbon.mediator.service.ui.AbstractMediator
-
- org.wso2.carbon.mediator.log.LogMediator
-
- All Implemented Interfaces:
org.wso2.carbon.mediator.service.ui.Mediator
public class LogMediator extends org.wso2.carbon.mediator.service.ui.AbstractMediator
-
-
Field Summary
Fields Modifier and Type Field Description static int
CUSTOM_VALUE
Only properties specified to the Log mediatorstatic int
DEBUG_VALUE
static String
DEFAULT_SEP
static int
ERROR_VALUE
static int
FATAL_VALUE
static int
FULL_VALUE
all attributes of level 'simple' and the SOAP envelope and any propertiesstatic int
HEADERS_VALUE
All SOAP header blocks and any propertiesstatic int
INFO_VALUE
static int
SIMPLE_VALUE
To, From, WSAction, SOAPAction, ReplyTo, MessageID and any propertiesstatic int
TRACE_VALUE
static int
WARN_VALUE
-
Constructor Summary
Constructors Constructor Description LogMediator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addAllProperties(List<org.wso2.carbon.mediator.service.util.MediatorProperty> list)
void
addProperty(org.wso2.carbon.mediator.service.util.MediatorProperty p)
void
build(org.apache.axiom.om.OMElement elem)
int
getLogCategory()
int
getLogLevel()
List<org.wso2.carbon.mediator.service.util.MediatorProperty>
getProperties()
String
getSeparator()
String
getTagLocalName()
org.apache.axiom.om.OMElement
serialize(org.apache.axiom.om.OMElement parent)
void
setLogCategory(int logCategory)
void
setLogLevel(int logLevel)
void
setSeparator(String separator)
-
Methods inherited from class org.wso2.carbon.mediator.service.ui.AbstractMediator
collectNameValuePairs, disableStatistics, enableStatistics, getMediatorProperties, getMediatorProperties, getTraceState, isAuditConfigurable, isStatisticsEnable, processAuditStatus, saveTracingState, serializeMediatorProperties, serializeNamespaces, setAuditConfigurable, setTraceState
-
-
-
-
Field Detail
-
CUSTOM_VALUE
public static final int CUSTOM_VALUE
Only properties specified to the Log mediator- See Also:
- Constant Field Values
-
SIMPLE_VALUE
public static final int SIMPLE_VALUE
To, From, WSAction, SOAPAction, ReplyTo, MessageID and any properties- See Also:
- Constant Field Values
-
HEADERS_VALUE
public static final int HEADERS_VALUE
All SOAP header blocks and any properties- See Also:
- Constant Field Values
-
FULL_VALUE
public static final int FULL_VALUE
all attributes of level 'simple' and the SOAP envelope and any properties- See Also:
- Constant Field Values
-
TRACE_VALUE
public static final int TRACE_VALUE
- See Also:
- Constant Field Values
-
DEBUG_VALUE
public static final int DEBUG_VALUE
- See Also:
- Constant Field Values
-
INFO_VALUE
public static final int INFO_VALUE
- See Also:
- Constant Field Values
-
WARN_VALUE
public static final int WARN_VALUE
- See Also:
- Constant Field Values
-
ERROR_VALUE
public static final int ERROR_VALUE
- See Also:
- Constant Field Values
-
FATAL_VALUE
public static final int FATAL_VALUE
- See Also:
- Constant Field Values
-
DEFAULT_SEP
public static final String DEFAULT_SEP
- See Also:
- Constant Field Values
-
-
Method Detail
-
getTagLocalName
public String getTagLocalName()
-
getLogLevel
public int getLogLevel()
-
getSeparator
public String getSeparator()
-
getLogCategory
public int getLogCategory()
-
setLogCategory
public void setLogCategory(int logCategory)
-
getProperties
public List<org.wso2.carbon.mediator.service.util.MediatorProperty> getProperties()
-
setLogLevel
public void setLogLevel(int logLevel)
-
setSeparator
public void setSeparator(String separator)
-
addProperty
public void addProperty(org.wso2.carbon.mediator.service.util.MediatorProperty p)
-
addAllProperties
public void addAllProperties(List<org.wso2.carbon.mediator.service.util.MediatorProperty> list)
-
serialize
public org.apache.axiom.om.OMElement serialize(org.apache.axiom.om.OMElement parent)
-
build
public void build(org.apache.axiom.om.OMElement elem)
-
-