- All Known Implementing Classes:
JulProxy
,Log4jProxy
,LogbackProxy
public interface LoggerProxy
A logging proxy facilitating the setting of log levels
-
Field Summary
Modifier and TypeFieldDescriptionstatic final LoggerProxy
The null logger proxy instance, zero functionality. -
Method Summary
Modifier and TypeMethodDescriptiondefault Collection<String>
files()
static LoggerProxy
instance()
levels()
void
setLogLevel
(Object logLevel) Sets the log level
-
Field Details
-
NULL_PROXY
The null logger proxy instance, zero functionality.
-
-
Method Details
-
getLogLevel
Object getLogLevel()- Returns:
- the current log level
-
setLogLevel
Sets the log level- Parameters:
logLevel
- the log level
-
levels
- Returns:
- the available log levels
-
files
- Returns:
- the log file paths, if available
-
instance
- Returns:
- the first available LoggerProxy implementation found,
NULL_PROXY
if none is available.
-