© 2005 BEA Systems, Inc.

com.beasys.commerce.util
Interface Log

All Known Implementing Classes:
DefaultLog, Logger

Deprecated. Use the Weblogic logging mechanism

public interface Log


Field Summary
static int LOG_DEBUG
          Deprecated. Error level constant.
static int LOG_DEPRECATED
          Deprecated. The deprecated state.
static int LOG_ERROR
          Deprecated. Error level constant.
static int LOG_FATAL
          Deprecated. Error level constant.
static int LOG_INFO
          Deprecated. Error level constant.
static int LOG_SECURITY
          Deprecated. Error level constant.
static int LOG_WARNING
          Deprecated. Error level constant.
 
Method Summary
 void debug(String aMsg)
          Deprecated. Convenience method for debug level message (LOG_DEBUG).
 void deprecated(String aMsg)
          Deprecated. Log a Deprecated message.
 int getMinimumLevel()
          Deprecated. Use domain log filters
 boolean getShowDebug()
          Deprecated. Get show debug.
 boolean getShowDeprecated()
          Deprecated. Get show deprecated.
 void info(String aMsg)
          Deprecated. Write to the logs, with extra information added.
 void info(String aMsg, Throwable anException)
          Deprecated. Write to the logs, with extra information added.
 void log(int aLevel, String aMsg)
          Deprecated. Write to the weblogic logs, with extra information added.
 void log(int aLevel, String appName, String aMsg)
          Deprecated. Write to the logs, with extra information added.
 void log(int aLevel, String appName, String aMsg, Throwable anException)
          Deprecated. Write to the logs, with extra information added.
 void log(int aLevel, String aMsg, Throwable anException)
          Deprecated. Write to the weblogic logs, with extra information added.
 void setMinimumLevel(int aLevel)
          Deprecated. Use domain log filters
 void setShowDebug(boolean aBool)
          Deprecated. Set show debug.
 void setShowDeprecated(boolean aBool)
          Deprecated. Set show deprecated.
 

Field Detail

LOG_DEBUG

public static final int LOG_DEBUG
Deprecated. 
Error level constant. This implementation maps to the weblogic.common.LogServicesDef.debug(String) method.

See Also:
Constant Field Values

LOG_DEPRECATED

public static final int LOG_DEPRECATED
Deprecated. 
The deprecated state.

See Also:
Constant Field Values

LOG_ERROR

public static final int LOG_ERROR
Deprecated. 
Error level constant. This implementation maps to the weblogic.common.LogServicesDef.warning(String) method.

See Also:
Constant Field Values

LOG_FATAL

public static final int LOG_FATAL
Deprecated. 
Error level constant. This implementation maps to the weblogic.common.LogServicesDef.error(String) method.

See Also:
Constant Field Values

LOG_INFO

public static final int LOG_INFO
Deprecated. 
Error level constant. This implementation maps to the weblogic.common.LogServicesDef.info(String) method.

See Also:
Constant Field Values

LOG_SECURITY

public static final int LOG_SECURITY
Deprecated. 
Error level constant. This implementation maps to the weblogic.common.LogServicesDef.security(String) method.

See Also:
Constant Field Values

LOG_WARNING

public static final int LOG_WARNING
Deprecated. 
Error level constant. This implementation maps to the weblogic.common.LogServicesDef.info(String) method.

See Also:
Constant Field Values
Method Detail

debug

public void debug(String aMsg)
Deprecated. 
Convenience method for debug level message (LOG_DEBUG).

Parameters:
aMsg -

deprecated

public void deprecated(String aMsg)
Deprecated. 
Log a Deprecated message. These can only be shut off with a true or false.

Parameters:
aMsg -

getMinimumLevel

public int getMinimumLevel()
Deprecated. Use domain log filters

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

public boolean getShowDebug()
Deprecated. 
Get show debug.

Returns:
boolean

getShowDeprecated

public boolean getShowDeprecated()
Deprecated. 
Get show deprecated.

Returns:
boolean

info

public void info(String aMsg)
Deprecated. 
Write to the logs, with extra information added. Convenience method for LOG_INFO level.


info

public void info(String aMsg,
                 Throwable anException)
Deprecated. 
Write to the logs, with extra information added. Convenience method for LOG_INFO level.

Parameters:
anException -

log

public void log(int aLevel,
                String aMsg)
Deprecated. 
Write to the weblogic logs, with extra information added.


log

public void log(int aLevel,
                String appName,
                String aMsg)
Deprecated. 
Write to the logs, with extra information added.

Parameters:
appName - the name of the application logging the message

log

public void log(int aLevel,
                String appName,
                String aMsg,
                Throwable anException)
Deprecated. 
Write to the logs, with extra information added.

Parameters:
appName - the name of the application logging the message

log

public void log(int aLevel,
                String aMsg,
                Throwable anException)
Deprecated. 
Write to the weblogic logs, with extra information added.


setMinimumLevel

public void setMinimumLevel(int aLevel)
Deprecated. Use domain log filters

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

public void setShowDebug(boolean aBool)
Deprecated. 
Set show debug.

Parameters:
aBool -

setShowDeprecated

public void setShowDeprecated(boolean aBool)
Deprecated. 
Set show deprecated.

Parameters:
aBool -

© 2005 BEA Systems, Inc.

Copyright © 2005 BEA Systems, Inc. All Rights Reserved