Klasse LoggerConfig
java.lang.Object
org.apache.sling.commons.log.logback.webconsole.LoggerConfig
Encapsulates the info about a logger configuration
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungLoggerConfig
(@Nullable String pid, @Nullable String logLevel, @Nullable String[] loggers, @Nullable String logFile, boolean additive) Constructor -
Methodenübersicht
-
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 loggerslogFile
- the target file for the logging outputadditive
- true if root should log too, false otherwise
-
-
Methodendetails
-
getPid
Gets the PID- Gibt zurück:
- the pid of the logger configuration (may be null)
-
getLogLevel
Gets the log level- Gibt zurück:
- the log level for the loggers (may be null)
-
getLoggers
Gets the loggers- Gibt zurück:
- the set of loggers
-
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
-