Trivial implementation of Log that throws away all messages. No configurable system properties are supported.
213214215216217218219220
* instance cannot be returned */ public static Log getLog(String name) throws LogConfigurationException { return new NoOpLog(); }
73747576777879
LinkageError, ExceptionInInitializerError, NoSuchMethodException, SecurityException { } static public Log getInstance(String name) { return new NoOpLog(); }
77787980818283
static public Log getInstance(String name) { return new NoOpLog(); } static public Log getInstance(Class clazz) { return new NoOpLog(); }
82838485868788
return new NoOpLog(); } static public Log makeNewLogInstance(String name) { return new NoOpLog(name); }
120121122123124125126127128129130
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;
155156157158159160161162163164165
483484485486487488489
* @param log the new logger * @since 1.4 */ public void setLogger(Log log) { this.log = (log != null) ? log : new NoOpLog(); }
241242243244245246247248249250
log = (Log) (logImplctor.newInstance(args)); } catch (Throwable t) { log = null; } if (null == log) { log = new NoOpLog(name); } return log; }
9596979899100101102103104105
digester.push(root); Exception exception = null; Log oldLog = digester.getLogger(); try { digester.setLogger(new NoOpLog()); digester.parse( Utils.getInputStream(this, "test2.xml")); } catch(Exception e) { exception = e;
130131132133134135136137138139140