|
Oracle® Collaboration Suite Workspaces API Reference 10g (10.1.1.0.2) Part No. B16233-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.workspaces.util.log.impl.SimpleCwLogger
Constructor Summary | |
SimpleCwLogger() |
Method Summary | |
void |
assertTrue(boolean bCond, java.lang.String szMsg) Will log assertion if condition fails and logging level is "debug", "info", "warn", or "assert" |
void |
debug(java.lang.Object objMsg) Will only log in "debug" level |
void |
debug(java.lang.Object objMsg, java.lang.Throwable t) Will only log in "debug" level |
void |
error(java.lang.Object objMsg) Will only log in "info", "debug", "warn", or "error" level |
void |
error(java.lang.Object objMsg, java.lang.Throwable t) Will only log in "info", "debug", "warn", or "error" level |
void |
fatal(java.lang.Object objMsg) Will only log in "info", "debug", "warn", "error", or "fatal" level |
void |
fatal(java.lang.Object objMsg, java.lang.Throwable t) Will only log in "info", "debug", "warn", "error", or "fatal" level |
void |
info(java.lang.Object objMsg) Will only log in "info", or "debug" level |
void |
init(java.lang.String callerID) initialize setting for one particular implemenation of CwLogger It should only be called once |
boolean |
isDebugEnabled() Will return true. |
boolean |
isInfoEnabled() Will return true if the level is "info", "warn", "error", or "fatal" |
void |
warn(java.lang.Object objMsg) Will only log in "info", "debug", or "warn" level |
void |
warn(java.lang.Object objMsg, java.lang.Throwable t) Will only log in "info", "debug", or "warn" level |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SimpleCwLogger()
Method Detail |
public void assertTrue(boolean bCond, java.lang.String szMsg)
assertTrue
in interface CwLogger
bCond
- condition to checkszMsg
- message to logpublic void debug(java.lang.Object objMsg)
debug
in interface CwLogger
objMsg
- object to output to logpublic void debug(java.lang.Object objMsg, java.lang.Throwable t)
debug
in interface CwLogger
objMsg
- object to output to logt
- exception to logpublic void error(java.lang.Object objMsg)
error
in interface CwLogger
objMsg
- object to output to logpublic void error(java.lang.Object objMsg, java.lang.Throwable t)
error
in interface CwLogger
objMsg
- object to output to logt
- exception to logpublic void fatal(java.lang.Object objMsg)
fatal
in interface CwLogger
objMsg
- object to output to logpublic void fatal(java.lang.Object objMsg, java.lang.Throwable t)
fatal
in interface CwLogger
objMsg
- object to output to logt
- exception to logpublic void info(java.lang.Object objMsg)
info
in interface CwLogger
objMsg
- object to output to logpublic void init(java.lang.String callerID)
init
in interface CwLogger
callerID
- The caller class namepublic boolean isDebugEnabled()
isDebugEnabled
in interface CwLogger
public boolean isInfoEnabled()
isInfoEnabled
in interface CwLogger
public void warn(java.lang.Object objMsg)
warn
in interface CwLogger
objMsg
- object to output to logpublic void warn(java.lang.Object objMsg, java.lang.Throwable t)
warn
in interface CwLogger
objMsg
- object to output to logt
- exception to log
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |