Class TestAppender$
java.lang.Object
org.apache.pekko.actor.testkit.typed.internal.TestAppender$
INTERNAL API
The TestAppender
emits the logging events to the registered LoggingTestKitImpl
, 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
FieldsModifier and TypeFieldDescriptionstatic final TestAppender$
Static reference to the singleton instance of this Scala object. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addFilter
(String loggerName, org.apache.pekko.actor.testkit.typed.internal.LoggingTestKitImpl filter) void
removeFilter
(String loggerName, org.apache.pekko.actor.testkit.typed.internal.LoggingTestKitImpl filter) void
setupTestAppender
(String loggerName)
-
Field Details
-
MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Constructor Details
-
TestAppender$
public TestAppender$()
-
-
Method Details