mirror of https://github.com/apache/poi.git
bug 59933: override POILogger#log(int, Object...) in NullLogger
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1761657 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c7c7012409
commit
766fb6b657
|
@ -53,6 +53,18 @@ public class NullLogger extends POILogger {
|
|||
// do nothing
|
||||
}
|
||||
|
||||
/**
|
||||
* Log a message. Lazily appends Object parameters together.
|
||||
* If the last parameter is a {@link Throwable} it is logged specially.
|
||||
*
|
||||
* @param level One of DEBUG, INFO, WARN, ERROR, FATAL
|
||||
* @param objs the objects to place in the message
|
||||
*/
|
||||
@Override
|
||||
public void log(int level, Object... objs) {
|
||||
// do nothing
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Check if a logger is enabled to log at the specified level
|
||||
|
|
Loading…
Reference in New Issue