|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.beasys.commerce.util.DefaultLog
com.beasys.commerce.util.NonCatalogLog
public class NonCatalogLog
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.
Logger
, NonCatalogLogger
Field Summary | |
---|---|
protected Map |
logMap Map of subsystem names (app names) to NonCatalogLogger classes |
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() Default constructor. |
Method Summary | |
---|---|
protected String |
assembleMsg(int aLevel, String anAppName, String aMsg) Assemble the message into the expected output. |
protected NonCatalogLogger |
getLoggerForApp(String anAppName) Get (or create) a logger for the specified app name (subsystem) |
protected void |
logOutput(int aLevel, String anAppName, String aMsg, Throwable anException) Log the output. |
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 |
---|
protected final Map logMap
Constructor Detail |
---|
public NonCatalogLog()
Method Detail |
---|
public void setMinimumLevel(int aLevel)
setMinimumLevel
in interface Log
setMinimumLevel
in class DefaultLog
aLevel
- - this must conform to one of LOG_DEBUG LOG_INFO LOG_WARNING LOG_ERROR LOG_FATAL LOG_SECURITYprotected NonCatalogLogger getLoggerForApp(String anAppName)
protected String assembleMsg(int aLevel, String anAppName, String aMsg)
assembleMsg
in class DefaultLog
aLevel
-anAppName
-aMsg
-String
protected void logOutput(int aLevel, String anAppName, String aMsg, Throwable anException)
logOutput
in class DefaultLog
aLevel
-anAppName
- the application nameaCompleteMsg
-anException
-
|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2010, Oracle. All rights reserved.