|
BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.beasys.commerce.axiom.util.weblogic.Log
Generic class for logging to your server. The default implementation logs to the WebLogic server log facility. You can subclass the methods in this class to log other devices.
weblogic.common.LogServicesDef
,
WebLogicHelper
Field Summary | |
static int |
LOG_DEBUG
Error level constant. |
static int |
LOG_ERROR
Error level constant. |
static int |
LOG_FATAL
Error level constant. |
static int |
LOG_INFO
Error level constant. |
static int |
LOG_SECURITY
/** Error level constant. |
static int |
LOG_WARNING
Error level constant. |
Constructor Summary | |
Log()
|
Method Summary | |
static void |
log(int aLevel,
java.lang.String aMsg)
Write to the weblogic logs, with extra information added. |
static void |
log(int aLevel,
java.lang.String appName,
java.lang.String aMsg)
Write to the logs, with extra information added. |
static void |
log(java.lang.String aMsg)
Write to the logs, with extra information added. |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
public static final int LOG_DEBUG
public static final int LOG_INFO
public static final int LOG_WARNING
public static final int LOG_ERROR
public static final int LOG_FATAL
public static final int LOG_SECURITY
Constructor Detail |
public Log()
Method Detail |
public static void log(java.lang.String aMsg)
String
- the message, if null it will be ignored.public static void log(int aLevel, java.lang.String aMsg)
int
- aLevel Possible error levels are:
LOG_DEBUG
LOG_INFO
LOG_WARNING
LOG_ERROR
LOG_FATAL
LOG_SECURITYString
- the message, if null it will ignore.public static void log(int aLevel, java.lang.String appName, java.lang.String aMsg)
int
- aLevel Possible error levels are:
LOG_DEBUG
LOG_INFO
LOG_WARNING
LOG_ERROR
LOG_FATAL
LOG_SECURITYappName
- the name of the application logging the messageString
- the message, if null it will ignore.
|
BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |