Package | Description |
---|---|
com.ibm.websphere.ras |
Modifier and Type | Method and Description |
---|---|
static TraceComponent |
Tr.register(java.lang.Class<?> aClass)
Register the provided class with the trace service.
|
static TraceComponent |
Tr.register(java.lang.Class<?> aClass,
java.lang.String group)
Register the provided class with the trace service and assign it to the
provided group name.
|
static TraceComponent |
Tr.register(java.lang.Class<?> aClass,
java.lang.String group,
java.lang.String bundle)
Register the provided class with the trace service and assign it to the
provided group name.
|
static TraceComponent |
Tr.register(java.lang.String name,
java.lang.Class<?> aClass,
java.lang.String group)
Register the provided name with the trace service and assign it to the
provided group name.
|
static TraceComponent |
Tr.register(java.lang.String name,
java.lang.Class<?> aClass,
java.lang.String[] groups)
Register the provided name with the trace service and assign it to the
provided groups.
|
static TraceComponent |
Tr.register(java.lang.String name,
java.lang.Class<?> aClass,
java.lang.String[] groups,
java.lang.String bundle)
Register the provided name with the trace service and assign it to the
provided groups.
|
static TraceComponent |
Tr.register(java.lang.String name,
java.lang.Class<?> aClass,
java.lang.String group,
java.lang.String bundle)
Register the provided name with the trace service and assign it to the
provided group name.
|
Modifier and Type | Method and Description |
---|---|
static void |
Tr.audit(TraceComponent tc,
java.lang.String msgKey,
java.lang.Object... objs)
Print the provided translated message if the input trace component allows
audit level messages.
|
static void |
Tr.debug(java.lang.Object id,
TraceComponent tc,
java.lang.String msg,
java.lang.Object... objs)
If debug level diagnostic trace is enabled for the specified
TraceComponent , log the provided trace point. |
static void |
Tr.debug(TraceComponent tc,
java.lang.String msg,
java.lang.Object... objs)
If debug level diagnostic trace is enabled for the specified
TraceComponent , log the provided trace point. |
static void |
Tr.dump(TraceComponent tc,
java.lang.String msg,
java.lang.Object... objs)
Print the provided trace point if the input trace component allows dump
level messages.
|
static void |
Tr.entry(java.lang.Object id,
TraceComponent tc,
java.lang.String methodName,
java.lang.Object... objs)
Print the provided trace point if the input trace component allows entry
level messages.
|
static void |
Tr.entry(TraceComponent tc,
java.lang.String methodName,
java.lang.Object... objs)
Print the provided trace point if the input trace component allows entry
level messages.
|
static void |
Tr.error(TraceComponent tc,
java.lang.String msgKey,
java.lang.Object... objs)
Print the provided translated message if the input trace component allows
error level messages.
|
static void |
Tr.event(java.lang.Object id,
TraceComponent tc,
java.lang.String msg,
java.lang.Object... objs)
Print the provided trace point if the input trace component allows event
level messages.
|
static void |
Tr.event(TraceComponent tc,
java.lang.String msg,
java.lang.Object... objs)
Print the provided trace point if the input trace component allows event
level messages.
|
static void |
Tr.exit(java.lang.Object id,
TraceComponent tc,
java.lang.String methodName)
Print the provided trace point if the input trace component allows exit
level messages.
|
static void |
Tr.exit(java.lang.Object id,
TraceComponent tc,
java.lang.String methodName,
java.lang.Object o)
Print the provided trace point if the input trace component allows exit
level messages.
|
static void |
Tr.exit(TraceComponent tc,
java.lang.String methodName)
Print the provided trace point if the input trace component allows exit
level messages.
|
static void |
Tr.exit(TraceComponent tc,
java.lang.String methodName,
java.lang.Object o)
Print the provided trace point if the input trace component allows exit
level messages.
|
static void |
Tr.fatal(TraceComponent tc,
java.lang.String msgKey,
java.lang.Object... objs)
Print the provided translated message if the input trace component allows
fatal level messages.
|
static java.lang.String |
Tr.formatMessage(TraceComponent tc,
java.util.Enumeration<java.util.Locale> locales,
java.lang.String msgKey,
java.lang.Object... objs)
Like
Tr.formatMessage(TraceComponent, List, String, Object...) ,
but takes an Enumeration of Locales. |
static java.lang.String |
Tr.formatMessage(TraceComponent tc,
java.util.List<java.util.Locale> locales,
java.lang.String msgKey,
java.lang.Object... objs)
Translate a message in the context of the input trace component.
|
static java.lang.String |
Tr.formatMessage(TraceComponent tc,
java.util.Locale locale,
java.lang.String msgKey,
java.lang.Object... objs)
Like
Tr.formatMessage(TraceComponent, List, String, Object...) ,
but takes a single Locale. |
static java.lang.String |
Tr.formatMessage(TraceComponent tc,
java.lang.String msgKey,
java.lang.Object... objs)
Translate a message in the context of the input trace component using
the default locale.
|
static void |
Tr.info(TraceComponent tc,
java.lang.String msgKey,
java.lang.Object... objs)
Print the provided translated message if the input trace component allows
info level messages.
|
static void |
TrConfigurator.registerTraceComponent(TraceComponent tc)
This method (to register pre-created TraceComponents) is needed:
but it should not be on the main/base Tr API, as it is not something
that should be called frequently.
|
void |
TraceComponentChangeListener.traceComponentRegistered(TraceComponent tc)
Callback indicating the specified trace component was registered.
|
void |
TraceComponentChangeListener.traceComponentUpdated(TraceComponent tc)
Callback indicating the specified trace component was updated.
|
static void |
Tr.warning(TraceComponent tc,
java.lang.String msgKey,
java.lang.Object... objs)
Print the provided translated message if the input trace component allows
warning level messages.
|