|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.poi.util.POILogger
org.apache.poi.util.SystemOutLogger
public class SystemOutLogger
A logger class that strives to make it as easy as possible for developers to write log calls, while simultaneously making those calls as cheap as possible by performing lazy evaluation of the log message.
Field Summary |
---|
Fields inherited from class org.apache.poi.util.POILogger |
---|
DEBUG, ERROR, FATAL, INFO, WARN |
Constructor Summary | |
---|---|
SystemOutLogger()
|
Method Summary | |
---|---|
boolean |
check(int level)
Check if a logger is enabled to log at the specified level |
void |
initialize(java.lang.String cat)
|
void |
log(int level,
java.lang.Object obj1)
Log a message |
Methods inherited from class org.apache.poi.util.POILogger |
---|
log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, logFormatted, logFormatted, logFormatted, logFormatted |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SystemOutLogger()
Method Detail |
---|
public void initialize(java.lang.String cat)
initialize
in class POILogger
public void log(int level, java.lang.Object obj1)
log
in class POILogger
level
- One of DEBUG, INFO, WARN, ERROR, FATALobj1
- The object to log.public boolean check(int level)
check
in class POILogger
level
- One of DEBUG, INFO, WARN, ERROR, FATALPOILogger.DEBUG
,
POILogger.INFO
,
POILogger.WARN
,
POILogger.ERROR
,
POILogger.FATAL
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |