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
0558c3a085
commit
92d0f35c84
@ -53,6 +53,18 @@ public class NullLogger extends POILogger {
|
|||||||
// do nothing
|
// 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
|
* Check if a logger is enabled to log at the specified level
|
||||||
|
Loading…
Reference in New Issue
Block a user