java.lang.Objectorg.objectweb.telosys.common.TelosysObject
Standard ancestor used by other classes.
Provides standard log methods (info, trace, error)
Constructor Summary | |
TelosysObject()
|
Method Summary | |
void |
error(java.lang.String sMsg)
Print a standard error message, using the active loggers |
void |
error(java.lang.String sMsg,
java.lang.Throwable exception)
Print error messages, using the active loggers |
void |
error(java.lang.Throwable exception)
Print an error message, using the active loggers |
boolean |
getFlagTrace()
Get the flag "trace" of the instance |
void |
info(java.lang.String s)
Print a standard info message, using the active loggers |
void |
setFlagTrace(boolean bFlag)
Set the flag "trace" (specific flag for each instance) |
void |
trace(java.lang.String s)
Print a standard trace message, using the active loggers (if the trace flag is "true") |
void |
warn(java.lang.String s)
Print a standard warning message, using the active loggers |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TelosysObject()
Method Detail |
public void setFlagTrace(boolean bFlag)
bFlag
- :
true or falsepublic boolean getFlagTrace()
public void trace(java.lang.String s)
s
- public void error(java.lang.String sMsg)
sMsg
- : the error messagepublic void error(java.lang.Throwable exception)
exception
- : the error causepublic void error(java.lang.String sMsg, java.lang.Throwable exception)
sMsg
- : the error messageexception
- : the error causepublic void info(java.lang.String s)
s
- public void warn(java.lang.String s)
s
-