Package org.apache.poi.util
Class SystemOutLogger
- java.lang.Object
-
- org.apache.poi.util.POILogger
-
- org.apache.poi.util.SystemOutLogger
-
public class SystemOutLogger extends POILogger
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.
-
-
Constructor Summary
Constructors Constructor Description SystemOutLogger()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
check(int level)
Check if a logger is enabled to log at the specified levelvoid
initialize(java.lang.String cat)
-
-
-
Method Detail
-
initialize
public void initialize(java.lang.String cat)
- Specified by:
initialize
in classPOILogger
-
check
public boolean check(int level)
Check if a logger is enabled to log at the specified level- Specified by:
check
in classPOILogger
- Parameters:
level
- One of DEBUG, INFO, WARN, ERROR, FATAL- See Also:
POILogger.DEBUG
,POILogger.INFO
,POILogger.WARN
,POILogger.ERROR
,POILogger.FATAL
-
-