Package org.apache.commons.logging.impl

Examples of org.apache.commons.logging.impl.NoOpLog


   *
   *
   */
  public Log getLogObject()
  {
    return (Log) new NoOpLog(this.getClass().getName());
  }
View Full Code Here


            log = (Log) (logImplctor.newInstance(args));
        } catch (Throwable t) {
            log = null;
        }
        if (null == log) {
            log = new NoOpLog(name);
        }
        return log;

    }
View Full Code Here

            log = (Log) (logImplctor.newInstance(args));
        } catch (Throwable t) {
            log = null;
        }
        if (null == log) {
            log = new NoOpLog(name);
        }
        return log;

    }
View Full Code Here

     *
     * @param log the new logger
     */
    public void setLogger(Log log)
    {
        this.log = (log != null) ? log : new NoOpLog();
    }
View Full Code Here

     * @param log the new logger
     * @since 1.4
     */
    public void setLogger(Log log)
    {
        this.log = (log != null) ? log : new NoOpLog();
    }
View Full Code Here

   *
   *
   */
  public Log getLogObject()
  {
    return (Log) new NoOpLog(this.getClass().getName());
  }
View Full Code Here

   * 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());
  }
View Full Code Here

     * 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());
    }
View Full Code Here

            log = (Log) (logImplctor.newInstance(args));
        } catch (Throwable t) {
            log = null;
        }
        if (null == log) {
            log = new NoOpLog(name);
        }
        return log;

    }
View Full Code Here

     *  instance cannot be returned
     */
    public static Log getLog(Class clazz)
        throws LogConfigurationException {

        return new NoOpLog();

    }
View Full Code Here

TOP

Related Classes of org.apache.commons.logging.impl.NoOpLog

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.