Class TestAppender$
- java.lang.Object
-
- akka.actor.testkit.typed.internal.TestAppender$
-
public class TestAppender$ extends java.lang.Object
INTERNAL APIThe
TestAppender
emits the logging events to the registeredLoggingTestKitImpl
, which are added and removed to the appender dynamically from tests.TestAppender
is currently requiring Logback as SLF4J implementation. Similar can probably be implemented with other backends, such as Log4j2.
-
-
Field Summary
Fields Modifier and Type Field Description static TestAppender$
MODULE$
Static reference to the singleton instance of this Scala object.
-
Constructor Summary
Constructors Constructor Description TestAppender$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addFilter(java.lang.String loggerName, akka.actor.testkit.typed.internal.LoggingTestKitImpl filter)
void
removeFilter(java.lang.String loggerName, akka.actor.testkit.typed.internal.LoggingTestKitImpl filter)
void
setupTestAppender(java.lang.String loggerName)
-
-
-
Field Detail
-
MODULE$
public static final TestAppender$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
setupTestAppender
public void setupTestAppender(java.lang.String loggerName)
-
addFilter
public void addFilter(java.lang.String loggerName, akka.actor.testkit.typed.internal.LoggingTestKitImpl filter)
-
removeFilter
public void removeFilter(java.lang.String loggerName, akka.actor.testkit.typed.internal.LoggingTestKitImpl filter)
-
-