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:
Javen O'Neal 2016-09-21 01:41:54 +00:00
parent 0558c3a085
commit 92d0f35c84

View File

@ -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