|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.elixirtech.report2.runtime.BasicReportHost
public class BasicReportHost
An implementation of the callback interface, IReportHost, that logs messages using Log4J
Field Summary | |
---|---|
static org.apache.log4j.Logger |
m_Log
|
Constructor Summary | |
---|---|
BasicReportHost()
|
Method Summary | |
---|---|
void |
error(java.lang.String msg)
Log error message. |
void |
error(java.lang.String msg,
java.lang.Throwable t)
Log error message with stack trace. |
void |
info(java.lang.String msg)
Log informative message. |
void |
setProgress(java.lang.String msg)
Set progress. |
void |
userError(java.lang.String msg)
Log error message that is useful to user. |
void |
warn(java.lang.String msg)
Log warning message. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final org.apache.log4j.Logger m_Log
Constructor Detail |
---|
public BasicReportHost()
Method Detail |
---|
public void error(java.lang.String msg)
error
in interface IReportHost
msg
- error message to log.public void error(java.lang.String msg, java.lang.Throwable t)
error
in interface IReportHost
msg
- error message to log.t
- error for stacktrace.public void userError(java.lang.String msg)
userError
in interface IReportHost
msg
- user error message to log.public void warn(java.lang.String msg)
warn
in interface IReportHost
msg
- warn message to log.public void info(java.lang.String msg)
info
in interface IReportHost
msg
- informative message to log.public void setProgress(java.lang.String msg)
setProgress
in interface IReportHost
msg
- progress message
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |