Author: onealj
Date: Wed Sep 21 01:41:54 2016
New Revision: 1761657

URL: http://svn.apache.org/viewvc?rev=1761657&view=rev
Log:
bug 59933: override POILogger#log(int, Object...) in NullLogger

Modified:
    poi/trunk/src/java/org/apache/poi/util/NullLogger.java

Modified: poi/trunk/src/java/org/apache/poi/util/NullLogger.java
URL: 
http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/util/NullLogger.java?rev=1761657&r1=1761656&r2=1761657&view=diff
==============================================================================
--- poi/trunk/src/java/org/apache/poi/util/NullLogger.java (original)
+++ poi/trunk/src/java/org/apache/poi/util/NullLogger.java Wed Sep 21 01:41:54 
2016
@@ -53,6 +53,18 @@ public class NullLogger extends POILogge
         // 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



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@poi.apache.org
For additional commands, e-mail: commits-h...@poi.apache.org

Reply via email to