Trivial implementation of Log that throws away all messages. No configurable system properties are supported.
240241242243244245246247248249
log = (Log) (logImplctor.newInstance(args)); } catch (Throwable t) { log = null; } if (null == log) { log = new NoOpLog(name); } return log; }
374375376377378379380
* the new logger * @since 1.4 */ public void setLogger(Log log) { this.log = (log != null) ? log : new NoOpLog(); }
357358359360361362363
* @param log the new logger * @since 1.4 */ public void setLogger(Log log) { this.log = (log != null) ? log : new NoOpLog(); }
119120121122123124125126127128129
digester.push(root); Exception exception = null; Log oldLog = digester.getLogger(); try { digester.setLogger(new NoOpLog()); digester.parse( TestAll.getInputStream(this, "test2.xml")); } catch(Exception e) { exception = e;
154155156157158159160161162163164
105106107108109110111112113114115
Exception exception = null; Log oldLog = digester.getLogger(); try { digester.setLogger( new NoOpLog() ); digester.parse( Utils.getInputStream( this, "test2.xml" ) ); } catch ( Exception e ) { exception = e;
142143144145146147148149150151152
358359360361362363364
483484485486487488489
285286287288289290291292293294