|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object fr.umlv.tatoo.cc.common.log.Reporter fr.umlv.tatoo.cc.common.log.LoggerReporter
public class LoggerReporter
A reporter that use Logger
to report
informations.
Constructor Summary | |
---|---|
LoggerReporter()
Create a reporter with level Level.INFO as default log level. |
Method Summary | |
---|---|
Level |
getLogLevel()
Returns the log level of the current reporter. |
void |
report(Info info)
Reports informations. |
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 |
---|
public LoggerReporter()
Level.INFO
as default log level.
Method Detail |
---|
public void setLogLevel(Level level)
Reporter
setLogLevel
in class Reporter
level
- the new log level.public Level getLogLevel()
Reporter
getLogLevel
in class Reporter
public void report(Info info)
Reporter
report
in class Reporter
info
- the inforInfo
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |