Package loci.poi.util
Class CommonsLogger
java.lang.Object
loci.poi.util.POILogger
loci.poi.util.CommonsLogger
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.
- Author:
- Marc Johnson (mjohnson at apache dot org), Glen Stampoultzis (glens at apache.org), Nicola Ken Barozzi (nicolaken at apache.org)
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancheck(int level) Check if a logger is enabled to log at the specified levelvoidinitialize(String cat) voidLog a messageMethods inherited from class loci.poi.util.POILogger
log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, logFormatted, logFormatted, logFormatted, logFormatted
-
Constructor Details
-
CommonsLogger
public CommonsLogger()
-
-
Method Details
-
initialize
- Specified by:
initializein classPOILogger
-
log
Log a message -
check
public boolean check(int level) Check if a logger is enabled to log at the specified level
-