public class WIMLogger
extends java.lang.Object
This class also defines static signature strings that can be used during method entry and exit trace calls
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
WIMLogger() |
Modifier and Type | Method and Description |
---|---|
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.
|
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
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