java.lang.Object
is.codion.plugin.log4j.Log4jProxy
- All Implemented Interfaces:
LoggerProxy
A Log4j LoggerProxy implementation
-
Field Summary
Fields inherited from interface is.codion.common.utilities.logging.LoggerProxy
NONE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfiles()getLogLevel(String name) levels()loggers()voidsetLogLevel(String name, Object logLevel) Sets the log level
-
Constructor Details
-
Log4jProxy
public Log4jProxy()
-
-
Method Details
-
getLogLevel
- Specified by:
getLogLevelin interfaceLoggerProxy- Parameters:
name- the logger name- Returns:
- the log level
-
setLogLevel
Description copied from interface:LoggerProxySets the log level- Specified by:
setLogLevelin interfaceLoggerProxy- Parameters:
name- the logger namelogLevel- the log level
-
levels
- Specified by:
levelsin interfaceLoggerProxy- Returns:
- the available log levels
-
rootLogger
- Specified by:
rootLoggerin interfaceLoggerProxy- Returns:
- the root logger name
-
loggers
- Specified by:
loggersin interfaceLoggerProxy- Returns:
- all loggers
-
files
- Specified by:
filesin interfaceLoggerProxy- Returns:
- the log file paths, if available
-