Package org.djutils.logger
Interface CategoryLogger.CategoryAppenderFactory
- All Known Implementing Classes:
 CategoryLogger.ConsoleAppenderFactory,CategoryLogger.RollingFileAppenderFactory
- Enclosing class:
 - CategoryLogger
 
public static interface CategoryLogger.CategoryAppenderFactory
The interface for the appender instance per category. The id is used for later removal.
- 
Method Summary
Modifier and TypeMethodDescriptionch.qos.logback.core.Appender<ch.qos.logback.classic.spi.ILoggingEvent>create(String id, LogCategory category, String messageFormat, ch.qos.logback.classic.LoggerContext ctx) Create an appender instance for a category.id()Return the id to be used for later removal. 
- 
Method Details
- 
id
String id()Return the id to be used for later removal.- Returns:
 - the id to be used for later removal
 
 - 
create
ch.qos.logback.core.Appender<ch.qos.logback.classic.spi.ILoggingEvent> create(String id, LogCategory category, String messageFormat, ch.qos.logback.classic.LoggerContext ctx) Create an appender instance for a category.- Parameters:
 id- the id to be used for later removalcategory- the logging categorymessageFormat- the pattern to use for printing the log messagectx- the context to use- Returns:
 - an appender with the above features
 
 
 -