Log Interface
DEPRECATED Use the Weblogic logging mechanism
- public interface Log
-
All Known Implementing Classes
-
com.beasys.commerce.util.DefaultLog
, com.beasys.commerce.util.Logger
public static final int |
-
LOG_DEBUG
- Error level constant.
|
public static final int |
-
LOG_DEPRECATED
- The deprecated state.
|
public static final int |
-
LOG_ERROR
- Error level constant.
|
public static final int |
-
LOG_FATAL
- Error level constant.
|
public static final int |
-
LOG_INFO
- Error level constant.
|
public static final int |
-
LOG_SECURITY
- Error level constant.
|
public static final int |
-
LOG_WARNING
- Error level constant.
|
public void |
-
debug (String aMsg)
- Convenience method for debug level message (LOG_DEBUG).
|
public void |
-
deprecated (String aMsg)
- Log a Deprecated message.
|
public int |
-
getMinimumLevel ()
- Get the minimum message output level.
|
public boolean |
-
getShowDebug ()
- Get show debug.
|
public boolean |
-
getShowDeprecated ()
- Get show deprecated.
|
public void |
-
info (String aMsg)
- Write to the logs, with extra information
added.
|
public void |
-
info (String aMsg, Throwable anException)
- Write to the logs, with extra information
added.
|
public void |
-
log (int aLevel, String aMsg)
- Write to the weblogic logs, with extra information
added.
|
public void |
-
log (int aLevel, String aMsg, Throwable anException)
- Write to the weblogic logs, with extra information
added.
|
public void |
-
log (int aLevel, String appName, String aMsg)
- Write to the logs, with extra information
added.
|
public void |
-
log (int aLevel, String appName, String aMsg, Throwable anException)
- Write to the logs, with extra information
added.
|
public void |
-
setMinimumLevel (int aLevel)
- Set the minimum message output level.
|
public void |
-
setShowDebug (boolean aBool)
- Set show debug.
|
public void |
-
setShowDeprecated (boolean aBool)
- Set show deprecated.
|
LOG_DEBUG
public static final int LOG_DEBUG
- Error level constant. This implementation maps to the
weblogic.common.LogServicesDef.debug(String) method.
LOG_DEPRECATED
public static final int LOG_DEPRECATED
- The deprecated state.
LOG_ERROR
public static final int LOG_ERROR
- Error level constant. This implementation maps to the
weblogic.common.LogServicesDef.warning(String) method.
LOG_FATAL
public static final int LOG_FATAL
- Error level constant. This implementation maps to the
weblogic.common.LogServicesDef.error(String) method.
LOG_INFO
public static final int LOG_INFO
- Error level constant. This implementation maps to the
weblogic.common.LogServicesDef.info(String) method.
LOG_SECURITY
public static final int LOG_SECURITY
- Error level constant. This implementation maps to the
weblogic.common.LogServicesDef.security(String) method.
LOG_WARNING
public static final int LOG_WARNING
- Error level constant. This implementation maps to the
weblogic.common.LogServicesDef.info(String) method.
debug(String) Method
public void debug(String
aMsg)
Convenience method for debug level message (LOG_DEBUG).
deprecated(String) Method
public void deprecated(String
aMsg)
Log a Deprecated message. These can only be shut off with a true or false.
getMinimumLevel() Method
DEPRECATED Use domain log filters
public int getMinimumLevel()
Get the minimum message output level.
Returns
int
- this must conform to one of
LOG_DEBUG
LOG_INFO
LOG_WARNING
LOG_ERROR
LOG_FATAL
LOG_SECURITY
getShowDebug() Method
public boolean getShowDebug()
Get show debug.
Returns
boolean
getShowDeprecated() Method
public boolean getShowDeprecated()
Get show deprecated.
Returns
boolean
info(String) Method
public void info(String
aMsg)
Write to the logs, with extra information
added. Convenience method for LOG_INFO level.
Parameters
-
aMsg
- the message, if null it should be ignored.
info(String, Throwable) Method
public void info(String
aMsg,
Throwable
anException)
Write to the logs, with extra information
added. Convenience method for LOG_INFO level.
Parameters
-
aMsg
- the message, if null it should be ignored.
-
anException
-
log(int, String) Method
public void log(int aLevel,
String
aMsg)
Write to the weblogic logs, with extra information
added.
Parameters
-
aLevel
- aLevel Possible error levels are:
LOG_DEBUG
LOG_INFO
LOG_WARNING
LOG_ERROR
LOG_FATAL
LOG_SECURITY
-
aMsg
- the message, if null it should be ignored.
log(int, String, Throwable) Method
public void log(int aLevel,
String
aMsg,
Throwable
anException)
Write to the weblogic logs, with extra information
added.
Parameters
-
aLevel
- aLevel Possible error levels are:
LOG_DEBUG
LOG_INFO
LOG_WARNING
LOG_ERROR
LOG_FATAL
LOG_SECURITY
-
aMsg
- the message, if null it should be ignored.
-
anException
- the exception.
log(int, String, String) Method
public void log(int aLevel,
String
appName,
String
aMsg)
Write to the logs, with extra information
added.
Parameters
-
aLevel
- aLevel Possible error levels are:
LOG_DEBUG
LOG_INFO
LOG_WARNING
LOG_ERROR
LOG_FATAL
LOG_SECURITY
-
appName
- the name of the application logging the message
-
aMsg
- the message, if null it should be ignored.
log(int, String, String, Throwable) Method
public void log(int aLevel,
String
appName,
String
aMsg,
Throwable
anException)
Write to the logs, with extra information
added.
Parameters
-
aLevel
- aLevel Possible error levels are:
LOG_DEBUG
LOG_INFO
LOG_WARNING
LOG_ERROR
LOG_FATAL
LOG_SECURITY
-
appName
- the name of the application logging the message
-
aMsg
- the message, if null it should be ignored.
-
anException
- the exception.
setMinimumLevel(int) Method
DEPRECATED Use domain log filters
public void setMinimumLevel(int aLevel)
Set the minimum message output level.
Parameters
-
aLevel
- - this must conform to one of
LOG_DEBUG
LOG_INFO
LOG_WARNING
LOG_ERROR
LOG_FATAL
LOG_SECURITY
setShowDebug(boolean) Method
public void setShowDebug(boolean aBool)
Set show debug.
setShowDeprecated(boolean) Method
public void setShowDeprecated(boolean aBool)
Set show deprecated.