Uses of Class
com.ibm.websphere.ras.TraceComponent
Packages that use TraceComponent
-
Uses of TraceComponent in com.ibm.websphere.ras
Methods in com.ibm.websphere.ras that return TraceComponentModifier and TypeMethodDescriptionstatic TraceComponent
Register the provided class with the trace service.static TraceComponent
Register the provided class with the trace service and assign it to the provided group name.static TraceComponent
Register the provided class with the trace service and assign it to the provided group name.static TraceComponent
Register the provided class with the trace service and assign it to the provided group name.static TraceComponent
Register the provided name with the trace service and assign it to the provided group name.static TraceComponent
Register the provided name with the trace service and assign it to the provided groups.static TraceComponent
Register the provided name with the trace service and assign it to the provided groups.static TraceComponent
Register the provided name with the trace service and assign it to the provided group name.Methods in com.ibm.websphere.ras with parameters of type TraceComponentModifier and TypeMethodDescriptionstatic final void
Tr.audit
(TraceComponent tc, String msgKey, Object... objs) Print the provided translated message if the input trace component allows audit level messages.static final void
Tr.debug
(TraceComponent tc, String msg, Object... objs) If debug level diagnostic trace is enabled for the specifiedTraceComponent
, log the provided trace point.static final void
Tr.debug
(Object id, TraceComponent tc, String msg, Object... objs) If debug level diagnostic trace is enabled for the specifiedTraceComponent
, log the provided trace point.static final void
Tr.dump
(TraceComponent tc, String msg, Object... objs) Print the provided trace point if the input trace component allows dump level messages.static final void
Tr.entry
(TraceComponent tc, String methodName, Object... objs) Print the provided trace point if the input trace component allows entry level messages.static final void
Tr.entry
(Object id, TraceComponent tc, String methodName, Object... objs) Print the provided trace point if the input trace component allows entry level messages.static final void
Tr.error
(TraceComponent tc, String msgKey, Object... objs) Print the provided translated message if the input trace component allows error level messages.static final void
Tr.event
(TraceComponent tc, String msg, Object... objs) Print the provided trace point if the input trace component allows event level messages.static final void
Tr.event
(Object id, TraceComponent tc, String msg, Object... objs) Print the provided trace point if the input trace component allows event level messages.static final void
Tr.exit
(TraceComponent tc, String methodName) Print the provided trace point if the input trace component allows exit level messages.static final void
Tr.exit
(TraceComponent tc, String methodName, Object o) Print the provided trace point if the input trace component allows exit level messages.static final void
Tr.exit
(Object id, TraceComponent tc, String methodName) Print the provided trace point if the input trace component allows exit level messages.static final void
Tr.exit
(Object id, TraceComponent tc, String methodName, Object o) Print the provided trace point if the input trace component allows exit level messages.static final void
Tr.fatal
(TraceComponent tc, String msgKey, Object... objs) Print the provided translated message if the input trace component allows fatal level messages.static final String
Tr.formatMessage
(TraceComponent tc, String msgKey, Object... objs) Translate a message in the context of the input trace component using the default locale.static String
Tr.formatMessage
(TraceComponent tc, Enumeration<Locale> locales, String msgKey, Object... objs) LikeTr.formatMessage(TraceComponent, List, String, Object...)
, but takes an Enumeration of Locales.static final String
Tr.formatMessage
(TraceComponent tc, List<Locale> locales, String msgKey, Object... objs) Translate a message in the context of the input trace component.static String
Tr.formatMessage
(TraceComponent tc, Locale locale, String msgKey, Object... objs) LikeTr.formatMessage(TraceComponent, List, String, Object...)
, but takes a single Locale.static final void
Tr.info
(TraceComponent tc, String msgKey, 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 final void
Tr.warning
(TraceComponent tc, String msgKey, Object... objs) Print the provided translated message if the input trace component allows warning level messages.