Uses of Class
org.djutils.logger.LogCategory
Packages that use LogCategory
-
Uses of LogCategory in org.djutils.logger
Fields in org.djutils.logger declared as LogCategoryModifier and TypeFieldDescriptionstatic final LogCategory
LogCategory.ALL
The category to indicate that ALL messages need to be logged.static final LogCategory
CategoryLogger.CAT_ALWAYS
The log category for the always() method.Methods in org.djutils.logger with parameters of type LogCategoryModifier and TypeMethodDescriptionstatic void
CategoryLogger.addLogCategory
(LogCategory category) Register a log category that can log with the CategoryLogger.ch.qos.logback.core.Appender<ch.qos.logback.classic.spi.ILoggingEvent>
CategoryLogger.CategoryAppenderFactory.create
(String id, LogCategory category, String messageFormat, ch.qos.logback.classic.LoggerContext ctx) Create an appender instance for a category.ch.qos.logback.core.Appender<ch.qos.logback.classic.spi.ILoggingEvent>
CategoryLogger.ConsoleAppenderFactory.create
(String id, LogCategory category, String messageFormat, ch.qos.logback.classic.LoggerContext ctx) ch.qos.logback.core.Appender<ch.qos.logback.classic.spi.ILoggingEvent>
CategoryLogger.RollingFileAppenderFactory.create
(String id, LogCategory category, String messageFormat, ch.qos.logback.classic.LoggerContext ctx) CategoryLogger.filter
(LogCategory category) Only log when the category has been registered in the CategoryLogger.static Collection<ch.qos.logback.core.Appender<ch.qos.logback.classic.spi.ILoggingEvent>>
CategoryLogger.getAppenders
(LogCategory category) Return the registered appenders for the LogCategory.static void
CategoryLogger.removeLogCategory
(LogCategory category) Remove a log category from logging with the CategoryLogger.static void
CategoryLogger.setLogLevel
(LogCategory category, ch.qos.logback.classic.Level level) Set the log category for a single log category.static void
CategoryLogger.setPattern
(LogCategory category, String pattern) Set the pattern for a single log category.