Package org.djutils.logger
Class LoggerTest.StringAppenderFactory
java.lang.Object
org.djutils.logger.LoggerTest.StringAppenderFactory
- All Implemented Interfaces:
CategoryLogger.CategoryAppenderFactory
- Enclosing class:
- LoggerTest
protected static class LoggerTest.StringAppenderFactory
extends Object
implements CategoryLogger.CategoryAppenderFactory
The factory to return a StringAppender.
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiate the factory for the string appender. -
Method Summary
-
Constructor Details
-
StringAppenderFactory
Instantiate the factory for the string appender.- Parameters:
id
- the id to be used for later removal
-
-
Method Details
-
id
- Specified by:
id
in interfaceCategoryLogger.CategoryAppenderFactory
-
create
public ch.qos.logback.core.Appender<ch.qos.logback.classic.spi.ILoggingEvent> create(String id, LogCategory category, String pattern, ch.qos.logback.classic.LoggerContext ctx) - Specified by:
create
in interfaceCategoryLogger.CategoryAppenderFactory
-