public class ErrorLogFactory extends Object
Constructor and Description |
---|
ErrorLogFactory() |
Modifier and Type | Method and Description |
---|---|
static ErrorLog |
createErrorLog(MessageContext synCtx)
Create an ErrorLog from the information in the synapse MessageContext
By default only the error code is logged and if the 'synapse.detailederrorlogging.enable'
has been set, then the error message, details and exception are also logged
|
static ErrorLog |
createErrorLog(org.apache.axis2.context.MessageContext axisCtx)
Create an ErrorLog from the information in the Axis2 MessageContext
By default only the error code is logged and if the 'synapse.detailederrorlogging.enable'
has been set, then the error message, details and exception are also logged
|
public static ErrorLog createErrorLog(MessageContext synCtx)
synCtx
- MessageContext instanceErrorLog
instancepublic static ErrorLog createErrorLog(org.apache.axis2.context.MessageContext axisCtx)
axisCtx
- Axis2 MessageContext instanceErrorLog
instanceCopyright © 2005-2017 Apache Software Foundation. All Rights Reserved.