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 SummaryModifier 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- 
idString id()Return the id to be used for later removal.- Returns:
- the id to be used for later removal
 
- 
createch.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 removal
- category- the logging category
- messageFormat- the pattern to use for printing the log message
- ctx- the context to use
- Returns:
- an appender with the above features
 
 
-