Package ch.qos.logback.classic.turbo

Examples of ch.qos.logback.classic.turbo.NOPTurboFilter


  }

  // http://jira.qos.ch/browse/LBCLASSIC-89
  @Test
  public void turboFilterStopOnReset() {
    NOPTurboFilter nopTF = new NOPTurboFilter();
    nopTF.start();
    lc.addTurboFilter(nopTF);
    assertTrue(nopTF.isStarted());
    lc.reset();
    assertFalse(nopTF.isStarted());
  }
View Full Code Here


  }

  double computeDurationOfDisabledLogsWith_1_NOPFilter(int numOfFilters,
                                                       long len) {
    for (int i = 0; i < numOfFilters; i++) {
      lc.addTurboFilter(new NOPTurboFilter());
    }
    lbLogger.setLevel(Level.OFF);
    for (long i = 0; i < len; i++)
      logger.debug("Toto");
View Full Code Here

TOP

Related Classes of ch.qos.logback.classic.turbo.NOPTurboFilter

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.