java.lang.Object
org.apache.sling.commons.log.logback.webconsole.LoggerConfig

public final class LoggerConfig extends Object
Encapsulates the info about a logger configuration
  • Konstruktordetails

    • LoggerConfig

      public LoggerConfig(@Nullable @Nullable String pid, @Nullable @Nullable String logLevel, @Nullable @Nullable String[] loggers, @Nullable @Nullable String logFile, boolean additive)
      Constructor
      Parameter:
      pid - the pid of the logger configuration (may be null)
      logLevel - the log level for the loggers (may be null)
      loggers - the set of loggers
      logFile - the target file for the logging output
      additive - true if root should log too, false otherwise
  • Methodendetails

    • getPid

      @Nullable public @Nullable String getPid()
      Gets the PID
      Gibt zurück:
      the pid of the logger configuration (may be null)
    • getLogLevel

      @Nullable public @Nullable String getLogLevel()
      Gets the log level
      Gibt zurück:
      the log level for the loggers (may be null)
    • getLoggers

      @Nullable public @Nullable String[] getLoggers()
      Gets the loggers
      Gibt zurück:
      the set of loggers
    • getLogFile

      @Nullable public @Nullable String getLogFile()
      Gets the log file
      Gibt zurück:
      the target file for the logging output
    • isAdditive

      public boolean isAdditive()
      Gets additive value
      Gibt zurück:
      true if root should log too, false otherwise