Package jodd.log.impl

Examples of jodd.log.impl.NOPLoggerFactory


public class LoggerFactoryTest {

  @Test
  public void testNopLogger() {
    LoggerFactory.setLoggerFactory(new NOPLoggerFactory());
    Logger log = LoggerFactory.getLogger("foo");

    assertEquals("*", log.getName());

    PrintStream out = System.out;
View Full Code Here


  protected CoreConnectionPool connectionPool;
  protected DbOomManager dboom;

  protected void init() {
    LoggerFactory.setLoggerFactory(new NOPLoggerFactory() {
      @Override
      public Logger getLogger(String name) {
        return new NOPLogger("") {
          @Override
          public boolean isWarnEnabled() {
View Full Code Here

TOP

Related Classes of jodd.log.impl.NOPLoggerFactory

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.