Class LoggerConfig
java.lang.Object
org.apache.sling.commons.log.logback.webconsole.LoggerConfig
Encapsulates the info about a logger configuration
-
Constructor Summary
ConstructorsConstructorDescriptionLoggerConfig(@Nullable String pid, @Nullable String logLevel, @Nullable String[] loggers, @Nullable String logFile, boolean additive) Constructor -
Method Summary
-
Constructor Details
-
LoggerConfig
public LoggerConfig(@Nullable @Nullable String pid, @Nullable @Nullable String logLevel, @Nullable @Nullable String[] loggers, @Nullable @Nullable String logFile, boolean additive) Constructor- Parameters:
pid- the pid of the logger configuration (may be null)logLevel- the log level for the loggers (may be null)loggers- the set of loggerslogFile- the target file for the logging outputadditive- true if root should log too, false otherwise
-
-
Method Details
-
getPid
Gets the PID- Returns:
- the pid of the logger configuration (may be null)
-
getLogLevel
Gets the log level- Returns:
- the log level for the loggers (may be null)
-
getLoggers
Gets the loggers- Returns:
- the set of loggers
-
getLogFile
Gets the log file- Returns:
- the target file for the logging output
-
isAdditive
public boolean isAdditive()Gets additive value- Returns:
- true if root should log too, false otherwise
-