Class TestLoggerRule

java.lang.Object
com.github.valfirst.slf4jtest.TestLoggerFactoryResetRule
dev.enola.common.exec.pty.TestLoggerRule
All Implemented Interfaces:
org.junit.rules.TestRule

public class TestLoggerRule extends com.github.valfirst.slf4jtest.TestLoggerFactoryResetRule
  • Constructor Summary

    Constructors
    Constructor
    Description
    TestLoggerRule(org.slf4j.event.Level captureLevel, org.slf4j.event.Level printLevel, com.github.valfirst.slf4jtest.TestLogger... testLoggers)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.junit.runners.model.Statement
    apply(org.junit.runners.model.Statement base, org.junit.runner.Description description)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TestLoggerRule

      public TestLoggerRule(org.slf4j.event.Level captureLevel, org.slf4j.event.Level printLevel, com.github.valfirst.slf4jtest.TestLogger... testLoggers)
  • Method Details

    • apply

      public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base, org.junit.runner.Description description)
      Specified by:
      apply in interface org.junit.rules.TestRule
      Overrides:
      apply in class com.github.valfirst.slf4jtest.TestLoggerFactoryResetRule