Overview | Package | Class | Tree | Deprecated | Index | Help
| Copyright © 2008 BEA Systems, Inc. All Rights Reserved
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.beasys.commerce.util
Interface Log

All Known Implementing Classes:
  DefaultLog, Logger, NonCatalogLog

Deprecated Use the Weblogic logging mechanism

    public interface Log

Field Summary
`static int` | `LOG_DEBUG` Deprecated See BEA Commerce product offering
`static int` | `LOG_DEPRECATED` Deprecated See BEA Commerce product offering
`static int` | `LOG_ERROR` Deprecated See BEA Commerce product offering
`static int` | `LOG_FATAL` Deprecated See BEA Commerce product offering
`static int` | `LOG_INFO` Deprecated See BEA Commerce product offering
`static int` | `LOG_SECURITY` Deprecated See BEA Commerce product offering
`static int` | `LOG_WARNING` Deprecated See BEA Commerce product offering

Method Summary
`void` | `debug(String aMsg)` Deprecated See BEA Commerce product offering
`void` | `deprecated(String aMsg)` Deprecated See BEA Commerce product offering
`int` | `getMinimumLevel()` Deprecated Use domain log filters
`boolean` | `getShowDebug()` Deprecated See BEA Commerce product offering
`boolean` | `getShowDeprecated()` Deprecated See BEA Commerce product offering
`void` | `info(String aMsg)` Deprecated See BEA Commerce product offering
`void` | `info(String aMsg, Throwable anException)` Deprecated See BEA Commerce product offering
`void` | `log(int aLevel, String aMsg)` Deprecated See BEA Commerce product offering
`void` | `log(int aLevel, String appName, String aMsg)` Deprecated See BEA Commerce product offering
`void` | `log(int aLevel, String appName, String aMsg, Throwable anException)` Deprecated See BEA Commerce product offering
`void` | `log(int aLevel, String aMsg, Throwable anException)` Deprecated See BEA Commerce product offering
`void` | `setMinimumLevel(int aLevel)` Deprecated Use domain log filters
`void` | `setShowDebug(boolean aBool)` Deprecated See BEA Commerce product offering
`void` | `setShowDeprecated(boolean aBool)` Deprecated See BEA Commerce product offering

Field Detail

### LOG_DEBUG

    static final int LOG_DEBUG

  Deprecated See BEA Commerce product offering
  Error level constant. This implementation maps to the weblogic.common.LogServicesDef.debug(String) method.

  See Also
    Constants Summary

### LOG_INFO

    static final int LOG_INFO

  Deprecated See BEA Commerce product offering
  Error level constant. This implementation maps to the weblogic.common.LogServicesDef.info(String) method.

  See Also
    Constants Summary

### LOG_WARNING

    static final int LOG_WARNING

  Deprecated See BEA Commerce product offering
  Error level constant. This implementation maps to the weblogic.common.LogServicesDef.info(String) method.

  See Also
    Constants Summary

### LOG_ERROR

    static final int LOG_ERROR

  Deprecated See BEA Commerce product offering
  Error level constant. This implementation maps to the weblogic.common.LogServicesDef.warning(String) method.

  See Also
    Constants Summary

### LOG_FATAL

    static final int LOG_FATAL

  Deprecated See BEA Commerce product offering
  Error level constant. This implementation maps to the weblogic.common.LogServicesDef.error(String) method.

  See Also
    Constants Summary

### LOG_SECURITY

    static final int LOG_SECURITY

  Deprecated See BEA Commerce product offering
  Error level constant. This implementation maps to the weblogic.common.LogServicesDef.security(String) method.

  See Also
    Constants Summary

### LOG_DEPRECATED

    static final int LOG_DEPRECATED

  Deprecated See BEA Commerce product offering
  The deprecated state.

  See Also
    Constants Summary

Method Detail

### debug

    void debug(String aMsg)

  Deprecated See BEA Commerce product offering

  Convenience method for debug level message (LOG_DEBUG).

  Parameters
    `aMsg` -

### info

    void info(String aMsg)

  Deprecated See BEA Commerce product offering

  Write to the logs, with extra information added. Convenience method for LOG_INFO level.

  Parameters
    `String` - the message, if null it should be ignored.

### deprecated

    void deprecated(String aMsg)

  Deprecated See BEA Commerce product offering

  Log a Deprecated message. These can only be shut off with a true or false.

  Parameters
    `aMsg` -

### info

    void info(String aMsg,
              Throwable anException)

  Deprecated See BEA Commerce product offering

  Write to the logs, with extra information added. Convenience method for LOG_INFO level.

  Parameters
    `String` - the message, if null it should be ignored.
    `anException` -

### log

    void log(int aLevel,
             String aMsg)

  Deprecated See BEA Commerce product offering

  Write to the weblogic logs, with extra information added.

  Parameters
    `int` - aLevel Possible error levels are: LOG_DEBUG LOG_INFO LOG_WARNING LOG_ERROR LOG_FATAL LOG_SECURITY
    `String` - the message, if null it should be ignored.

### log

    void log(int aLevel,
             String aMsg,
             Throwable anException)

  Deprecated See BEA Commerce product offering

  Write to the weblogic logs, with extra information added.

  Parameters
    `int` - aLevel Possible error levels are: LOG_DEBUG LOG_INFO LOG_WARNING LOG_ERROR LOG_FATAL LOG_SECURITY
    `String` - the message, if null it should be ignored.
    `Throwable` - the exception.

### log

    void log(int aLevel,
             String appName,
             String aMsg)

  Deprecated See BEA Commerce product offering

  Write to the logs, with extra information added.

  Parameters
    `int` - 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
    `String` - the message, if null it should be ignored.

### log

    void log(int aLevel,
             String appName,
             String aMsg,
             Throwable anException)

  Deprecated See BEA Commerce product offering

  Write to the logs, with extra information added.

  Parameters
    `int` - 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
    `String` - the message, if null it should be ignored.
    `Throwable` - the exception.

### setMinimumLevel

    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

### getMinimumLevel

    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

### setShowDeprecated

    void setShowDeprecated(boolean aBool)

  Deprecated See BEA Commerce product offering

  Set show deprecated.

  Parameters
    `aBool` -

### getShowDeprecated

    boolean getShowDeprecated()

  Deprecated See BEA Commerce product offering

  Get show deprecated.

  Returns
    `boolean`

### setShowDebug

    void setShowDebug(boolean aBool)

  Deprecated See BEA Commerce product offering

  Set show debug.

  Parameters
    `aBool` -

### getShowDebug

    boolean getShowDebug()

  Deprecated See BEA Commerce product offering

  Get show debug.

  Returns
    `boolean`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2008 BEA Systems, Inc. All Rights Reserved