|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.websphere.wim.ras.WIMLogger
public class WIMLogger
This class provides static methods to retrieve message and trace logger. For convenience, this class sets the default resource bundle for message loggers. This class should be used on vmm server side. This class can also be used on the vmm client side, but if the client is running in non-WAS environment then the log properties file must be provided for the messaging and tracing to work.
This class also defines static signature strings that can be used during method entry and exit trace calls
Field Summary | |
---|---|
static java.lang.String |
API_PREFIX
Signature string for vmm API |
static java.lang.String |
ENTRY
Signature string for method Entry |
static java.lang.String |
EXIT
Signature string for method Exit |
static java.lang.String |
MESSAGE_RB
Default message resource bundle for vmm |
static java.lang.String |
SPI_PREFIX
Signature string for vmm SPI |
Constructor Summary | |
---|---|
WIMLogger()
|
Method Summary | |
---|---|
static java.util.logging.Logger |
getMessageLogger(java.lang.String name)
Return the message logger for the vmm. |
static java.util.logging.Logger |
getTraceLogger(java.lang.String name)
Return the trace logger for the specified package. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String MESSAGE_RB
public static final java.lang.String ENTRY
public static final java.lang.String EXIT
public static final java.lang.String API_PREFIX
public static final java.lang.String SPI_PREFIX
Constructor Detail |
---|
public WIMLogger()
Method Detail |
---|
public static java.util.logging.Logger getTraceLogger(java.lang.String name)
name
- A name for the trace logger. This should be a dot-separated
name and should normally be based on the package names,
such as com.ibm.webshere.wim, com.ibm.ws.wim.adapter, com.ibm.wsspi.wimLogger
public static java.util.logging.Logger getMessageLogger(java.lang.String name)
name
- A name for the message logger. This should be a dot-separated
name and should normally be based on the package names,
such as com.ibm.webshere.wim, com.ibm.ws.wim.adapter, com.ibm.wsspi.wimLogger
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |