com.beasys.commerce.util
Class NonCatalogLog

java.lang.Object
  extended by com.beasys.commerce.util.DefaultLog
      extended by com.beasys.commerce.util.NonCatalogLog
All Implemented Interfaces
Log

Deprecated See BEA Commerce product offering

public class NonCatalogLog
extends DefaultLog

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.

See Also
Logger, NonCatalogLogger

Field Summary
protected  Map logMap
          Deprecated See BEA Commerce product offering
 
Fields inherited from class com.beasys.commerce.util.DefaultLog
COMMA, DEFAULT_APP_NAME, minimumLevel, QUOTE, showDebug, showDeprecated, SPACE
 
Fields inherited from interface com.beasys.commerce.util.Log
LOG_DEBUG, LOG_DEPRECATED, LOG_ERROR, LOG_FATAL, LOG_INFO, LOG_SECURITY, LOG_WARNING
 
Constructor Summary
NonCatalogLog()
          Deprecated See BEA Commerce product offering
 
Method Summary
protected  String assembleMsg(int aLevel, String anAppName, String aMsg)
          Deprecated See BEA Commerce product offering
protected  NonCatalogLogger getLoggerForApp(String anAppName)
          Deprecated See BEA Commerce product offering
protected  void logOutput(int aLevel, String anAppName, String aMsg, Throwable anException)
          Deprecated See BEA Commerce product offering
 void setMinimumLevel(int aLevel)
          Deprecated does nothing but log a deprecated message. Use domain log filters.
 
Methods inherited from class com.beasys.commerce.util.DefaultLog
debug, deprecated, getMinimumLevel, getShowDebug, getShowDeprecated, info, info, log, log, log, log, setShowDebug, setShowDeprecated, textForLevel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logMap

protected final Map logMap
Deprecated See BEA Commerce product offering
Map of subsystem names (app names) to NonCatalogLogger classes

Constructor Detail

NonCatalogLog

public NonCatalogLog()
Deprecated See BEA Commerce product offering

Default constructor.

Method Detail

setMinimumLevel

public void setMinimumLevel(int aLevel)
Deprecated does nothing but log a deprecated message. Use domain log filters.

Deprecated - not used in this implementation

Specified by:
setMinimumLevel in interface Log
Overrides:
setMinimumLevel in class DefaultLog
Parameters
aLevel - - this must conform to one of LOG_DEBUG LOG_INFO LOG_WARNING LOG_ERROR LOG_FATAL LOG_SECURITY

getLoggerForApp

protected NonCatalogLogger getLoggerForApp(String anAppName)
Deprecated See BEA Commerce product offering

Get (or create) a logger for the specified app name (subsystem)


assembleMsg

protected String assembleMsg(int aLevel,
                             String anAppName,
                             String aMsg)
Deprecated See BEA Commerce product offering

Assemble the message into the expected output.

Overrides:
assembleMsg in class DefaultLog
Parameters
aLevel -
anAppName -
aMsg -
Returns
String

logOutput

protected void logOutput(int aLevel,
                         String anAppName,
                         String aMsg,
                         Throwable anException)
Deprecated See BEA Commerce product offering

Log the output. Override default implementation to write to the log.

Overrides:
logOutput in class DefaultLog
Parameters
aLevel -
anAppName - the application name
aCompleteMsg -
anException -


Copyright © 2008 BEA Systems, Inc. All Rights Reserved