Trivial implementation of Log that throws away all messages. No configurable system properties are supported.
30313233343536
* * */ public Log getLogObject() { return (Log) new NoOpLog(this.getClass().getName()); }
285286287288289290291292293294
log = (Log) (logImplctor.newInstance(args)); } catch (Throwable t) { log = null; } if (null == log) { log = new NoOpLog(name); } return log; }
281282283284285286287288289290
70717273747576
* * @param log the new logger */ public void setLogger(Log log) { this.log = (log != null) ? log : new NoOpLog(); }
360361362363364365366
* @param log the new logger * @since 1.4 */ public void setLogger(Log log) { this.log = (log != null) ? log : new NoOpLog(); }
46474849505152
55565758596061
* Override the abstract method from the parent class so that the * inherited tests can access the right Log object type. */ public Log getLogObject() { return (Log) new NoOpLog(this.getClass().getName()); }
57585960616263
194195196197198199200201
* instance cannot be returned */ public static Log getLog(Class clazz) throws LogConfigurationException { return new NoOpLog(); }