public final class TxLogger extends Object
Logger interface.
Logging domains:
wstx // general for all web service transactions
wstx.wscoord // for ws-coordination logging
wstx.at // for ws-atomic transaction logging.getLogger(Class),
getATLogger(Class),
getCoordLogger(Class)| Modifier and Type | Method and Description |
|---|---|
void |
config(String methodName,
String message) |
void |
config(String methodName,
String message,
Throwable thrown) |
void |
entering(String methodName) |
void |
entering(String methodName,
Object parameter) |
void |
entering(String methodName,
Object[] parameters) |
void |
exiting(String methodName) |
void |
exiting(String methodName,
Object result) |
void |
fine(String methodName,
String message) |
void |
fine(String methodName,
String message,
Throwable thrown) |
void |
finer(String methodName,
String message) |
void |
finer(String methodName,
String message,
Throwable thrown) |
void |
finest(String methodName,
String message) |
void |
finest(String methodName,
String message,
Throwable thrown) |
static TxLogger |
getATLogger(Class componentClass)
Logging specifically for *.wstx.wsat subsystem.
|
static TxLogger |
getCoordLogger(Class componentClass)
Logging specifically for *.wstx.wscoord subsystem.
|
static TxLogger |
getLogger(Class componentClass)
The factory method returns preconfigured TxLogger wrapper for the class.
|
void |
info(String methodName,
String message) |
void |
info(String methodName,
String message,
Throwable thrown) |
boolean |
isLogging(Level level) |
void |
log(Level level,
String methodName,
String message) |
void |
log(Level level,
String methodName,
String message,
Throwable thrown) |
void |
severe(String methodName,
String message) |
void |
severe(String methodName,
String message,
Throwable thrown) |
void |
warning(String methodName,
String message) |
void |
warning(String methodName,
String message,
Throwable thrown) |
public static TxLogger getLogger(Class componentClass)
componentClass - class of the component that will use the logger instance. Must not be null.NullPointerException - if the componentClass parameter is null.public static TxLogger getATLogger(Class componentClass)
public static TxLogger getCoordLogger(Class componentClass)
public void entering(String methodName)
public void exiting(String methodName)
public boolean isLogging(Level level)
Copyright © 2005–2018 Oracle Corporation. All rights reserved.