|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.umlv.tatoo.cc.common.log.Reporter
public abstract class Reporter
A reporter is able to report a specific Info
by providing an implementation of the method
report(Info).
Futhermore the fact that the info is reported or not
depends on the reporter log level
and the info log level.
Reporter are associated to a thread using
ReporterFactory.installCurrentReporter(Reporter).
| Constructor Summary | |
|---|---|
protected |
Reporter()
Creates a reporter. |
| Method Summary | |
|---|---|
abstract Level |
getLogLevel()
Returns the log level of the current reporter. |
abstract void |
report(Info info)
Reports informations. |
abstract void |
setLogLevel(Level level)
Changes the log level of the current reporter. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected Reporter()
| Method Detail |
|---|
public abstract void setLogLevel(Level level)
level - the new log level.public abstract Level getLogLevel()
public abstract void report(Info info)
info - the inforInfo
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||