public final class Log extends Object
Modifier and Type | Method and Description |
---|---|
static String |
getContextId()
Retrieves the current diagnostic context identifier for this thread.
|
static TranslationBundle |
getTranslationBundle()
Retrieves the active translation bundle.
|
static void |
log_2100(String url,
String function,
Object parameters)
Logs message 2100, in the log entry group XINS service calling.
|
static void |
log_2101(String url,
String function,
Object parameters,
long duration)
Logs message 2101, in the log entry group XINS service calling.
|
static void |
log_2102(String url,
String function,
Object parameters,
long duration)
Logs message 2102, in the log entry group XINS service calling.
|
static void |
log_2103(String url,
String function,
Object parameters,
long duration)
Logs message 2103, in the log entry group XINS service calling.
|
static void |
log_2104(String url,
String function,
Object parameters,
long duration,
int timeOut)
Logs message 2104, in the log entry group XINS service calling.
|
static void |
log_2105(String url,
String function,
Object parameters,
long duration,
int timeOut)
Logs message 2105, in the log entry group XINS service calling.
|
static void |
log_2106(String url,
String function,
Object parameters,
long duration,
int timeOut)
Logs message 2106, in the log entry group XINS service calling.
|
static void |
log_2108(String url,
String function,
Object parameters,
long duration,
int code)
Logs message 2108, in the log entry group XINS service calling.
|
static void |
log_2109(Throwable _exception,
String url,
String function,
Object parameters,
long duration)
Logs message 2109, in the log entry group XINS service calling.
|
static void |
log_2110(String url,
String function,
Object parameters,
long duration,
String detail)
Logs message 2110, in the log entry group XINS service calling.
|
static void |
log_2111(Throwable _exception,
String url,
String function,
Object parameters,
long duration)
Logs message 2111, in the log entry group XINS service calling.
|
static void |
log_2112(String url,
String function,
Object parameters,
long duration,
String errorCode)
Logs message 2112, in the log entry group XINS service calling.
|
static void |
log_2113(String function,
Object parameters,
long duration,
String reason)
Logs message 2113, in the log entry group XINS service calling.
|
static void |
log_2114(String apiName,
String buildVersion,
String runtimeVersion)
Logs message 2114, in the log entry group XINS service calling.
|
static void |
log_2115(String url,
String function,
Object parameters,
long duration,
String errorCode)
Logs message 2115, in the log entry group XINS service calling.
|
static void |
log_2116(Throwable _exception,
String apiName)
Logs message 2116, in the log entry group XINS service calling.
|
static void |
log_2117(Throwable _exception)
Logs message 2117, in the log entry group XINS service calling.
|
static void |
log_2200(String namespaceURI,
String localName)
Logs message 2200, in the log entry group XINS call result parsing.
|
static void |
log_2201()
Logs message 2201, in the log entry group XINS call result parsing.
|
static void |
log_2202(String value)
Logs message 2202, in the log entry group XINS call result parsing.
|
static void |
log_2203(String name)
Logs message 2203, in the log entry group XINS call result parsing.
|
static void |
log_2204(String name,
String value)
Logs message 2204, in the log entry group XINS call result parsing.
|
static void |
log_2205(Throwable _exception,
String detail)
Logs message 2205, in the log entry group XINS call result parsing.
|
static void |
log_2206(String namespaceURI,
String localName)
Logs message 2206, in the log entry group XINS call result parsing.
|
static void |
log_2300(Throwable _exception,
double start,
String url,
String functionName,
long duration,
String errorCode,
Object inParams,
Object outParams)
Logs message 2300, in the log entry group Transaction logging.
|
static void |
log_2301(Throwable _exception,
double start,
String url,
String functionName,
long duration,
String errorCode)
Logs message 2301, in the log entry group Transaction logging.
|
static void |
putContextId(String newContextId)
Sets the diagnostic context identifier for this thread.
|
static void |
unputContextId()
Unsets the diagnostic context identifier for this thread.
|
public static void putContextId(String newContextId)
newContextId
- the new diagnostic context identifier for this thread, cannot be null
.public static void unputContextId()
public static String getContextId()
null
if none.public static TranslationBundle getTranslationBundle()
null
.public static final void log_2100(String url, String function, Object parameters)
Calling XINS service.
public static final void log_2101(String url, String function, Object parameters, long duration)
Successful XINS result received.
public static final void log_2102(String url, String function, Object parameters, long duration)
Unknown host error while calling XINS service.
public static final void log_2103(String url, String function, Object parameters, long duration)
Connection refused while calling XINS service.
public static final void log_2104(String url, String function, Object parameters, long duration, int timeOut)
Connection time-out while calling XINS service.
public static final void log_2105(String url, String function, Object parameters, long duration, int timeOut)
Socket time-out while calling XINS service.
public static final void log_2106(String url, String function, Object parameters, long duration, int timeOut)
Total call time-out while calling XINS service.
public static final void log_2108(String url, String function, Object parameters, long duration, int code)
Unacceptable status code received while calling XINS service.
public static final void log_2109(Throwable _exception, String url, String function, Object parameters, long duration)
Unrecognized I/O error while calling XINS service.
public static final void log_2110(String url, String function, Object parameters, long duration, String detail)
Invalid result received from XINS service.
public static final void log_2111(Throwable _exception, String url, String function, Object parameters, long duration)
Unexpected exception while calling XINS service.
public static final void log_2112(String url, String function, Object parameters, long duration, String errorCode)
Unsuccessful XINS result received.
public static final void log_2113(String function, Object parameters, long duration, String reason)
XINS call request completely failed.
public static final void log_2114(String apiName, String buildVersion, String runtimeVersion)
The CAPI has been compiled with a different XINS version.
public static final void log_2115(String url, String function, Object parameters, long duration, String errorCode)
Functional error code returned from XINS call.
public static final void log_2116(Throwable _exception, String apiName)
Unable to find the API specifications, trying with the ClassLoader.
public static final void log_2117(Throwable _exception)
Error when calling the API using the file protocol.
public static final void log_2200(String namespaceURI, String localName)
Root element is not "result".
public static final void log_2201()
Found output parameter with name nor value.
public static final void log_2202(String value)
Found output parameter without name.
public static final void log_2203(String name)
Found output parameter without value.
public static final void log_2204(String name, String value)
Parsed output parameter.
public static final void log_2205(Throwable _exception, String detail)
Unable to convert the specified character string to XML.
public static final void log_2206(String namespaceURI, String localName)
Ignoring unrecognized element at root level.
public static final void log_2300(Throwable _exception, double start, String url, String functionName, long duration, String errorCode, Object inParams, Object outParams)
Function called. This entry differs from 2301 in that it logs all input and output parameters, while 2301 does not.
public static final void log_2301(Throwable _exception, double start, String url, String functionName, long duration, String errorCode)
Function called. This entry differs from 2300 in that it does not log all input and output parameters, while 2300 does.
See http://www.xins.org/.