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 LogCategoryLogCategory.ALLThe category to indicate that ALL messages need to be logged.static final LogCategoryCategoryLogger.CAT_ALWAYSThe log category for the always() method.Methods in org.djutils.logger with parameters of type LogCategoryModifier and TypeMethodDescriptionstatic voidCategoryLogger.addFormatter(LogCategory category, String find, Supplier<String> replaceSupplier) Add a find-replace formatter on the delegate logger for this category.static voidCategoryLogger.addLogCategory(LogCategory category) Register a log category that can log with the CategoryLogger.static voidCategoryLogger.addLogCategory(LogCategory category, Class<?> callerBoundary) Register a log category that can log with the CategoryLogger, with a 'boundary' class that indicates what to hide in the call stack.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) 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 ch.qos.logback.classic.LevelCategoryLogger.getLogLevel(LogCategory category) Return the log level for a log category.static StringCategoryLogger.getPattern(LogCategory category) Return the pattern for a log category.static voidCategoryLogger.removeCallback(LogCategory category) Remove the callback method for the delegate logger for this category.static voidCategoryLogger.removeFormatter(LogCategory category, String find) Remove a find-replace formatter on the delegate logger for this category.static voidCategoryLogger.removeLogCategory(LogCategory category) Remove a log category from logging with the CategoryLogger.static voidCategoryLogger.setCallback(LogCategory category, Runnable callback) Add a callback method for the delegate logger for this category.static voidCategoryLogger.setLogLevel(LogCategory category, ch.qos.logback.classic.Level level) Set the log category for a single log category.static voidCategoryLogger.setPattern(LogCategory category, String pattern) Set the pattern for a single log category.CategoryLogger.with(LogCategory category) Only log when the category has been registered in the CategoryLogger, and with the settings of that logger.