|
Oracle® Collaboration Suite Workspaces API Reference 10g Release 1 (10.1.2) B25479-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.workspaces.util.log.CwLoggerFactory
Constructor Summary | |
CwLoggerFactory() |
Method Summary | |
static CwLogger |
createLogger(java.lang.String callerID) Create a default logger SimpleCwLogger instance. |
static int |
getLoggingLevel() Get the logging level |
static LogHandler |
getLogHandler() Get the default handler which will be shared by all logger instances |
static void |
setLoggingLevel(int loggingLevel) This method should be invoked before the call of createLogger the logging level universally applies to all logger instances generated by the logger factory By default the logging level is set to be I_WARN_LEVEL |
static void |
setLoggingLevel(java.lang.String szLogLevel) This method should be invoked before the call of createLogger the logging level universally applies to all logger instances generated by the logger factory By default the logging level is set to be I_WARN_LEVEL |
static void |
setLogHandler(LogHandler logHandler) Set the default handler which will be shared by all logger instances |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CwLoggerFactory()
Method Detail |
public static CwLogger createLogger(java.lang.String callerID)
callerID
- string used to differentiate log between classespublic static int getLoggingLevel()
public static LogHandler getLogHandler()
public static void setLoggingLevel(int loggingLevel)
loggingLevel
- The logging level as an intpublic static void setLoggingLevel(java.lang.String szLogLevel)
szLogLevel
- The logging level as a stringpublic static void setLogHandler(LogHandler logHandler)
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |