Schnittstelle LoggingAdapter
- Alle bekannten Implementierungsklassen:
DummyLoggingAdapter
,Log4j2LoggingAdapter
,Log4jLoggingAdapter
public interface LoggingAdapter
Allows reading and setting the current loglevel.
The implementation depends on the logging framework used.
- Version:
- $Id: LoggingAdapter.java 1465296 2013-04-06 20:13:45Z tfischer $
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungReturns the current loglevel.void
setLoglevel
(Loglevel loglevel) Sets the loglevel to the given loglevel.
-
Methodendetails
-
getCurrentLoglevel
Loglevel getCurrentLoglevel()Returns the current loglevel.- Gibt zurück:
- the current loglevel, or INFO if the current loglevel cannot be determined.
-
setLoglevel
Sets the loglevel to the given loglevel.- Parameter:
loglevel
- the loglevel to set, not null.
-