Uses of Class
org.djutils.logger.LogCategory

Packages that use LogCategory
Package
Description
Classes to assist in logging.
  • Uses of LogCategory in org.djutils.logger

    Fields in org.djutils.logger declared as LogCategory
    Modifier and Type
    Field
    Description
    static 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 LogCategory
    Modifier and Type
    Method
    Description
    static void
    CategoryLogger.addFormatter(LogCategory category, String find, Supplier<String> replaceSupplier)
    Add a find-replace formatter on the delegate logger for this category.
    static void
    CategoryLogger.addLogCategory(LogCategory category)
    Register a log category that can log with the CategoryLogger.
    static void
    CategoryLogger.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.Level
    CategoryLogger.getLogLevel(LogCategory category)
    Return the log level for a log category.
    static String
    CategoryLogger.getPattern(LogCategory category)
    Return the pattern for a log category.
    static void
    CategoryLogger.removeCallback(LogCategory category)
    Remove the callback method for the delegate logger for this category.
    static void
    CategoryLogger.removeFormatter(LogCategory category, String find)
    Remove a find-replace formatter on the delegate logger for this category.
    static void
    CategoryLogger.removeLogCategory(LogCategory category)
    Remove a log category from logging with the CategoryLogger.
    static void
    CategoryLogger.setCallback(LogCategory category, Runnable callback)
    Add a callback method for the delegate logger for this category.
    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.
    CategoryLogger.with(LogCategory category)
    Only log when the category has been registered in the CategoryLogger, and with the settings of that logger.