Package org.cache2k.core.log
Class Log.JdkLogger
- java.lang.Object
-
- org.cache2k.core.log.Log
-
- org.cache2k.core.log.Log.JdkLogger
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.cache2k.core.log.Log
Log.JdkLogger, Log.Slf4jLogger, Log.SuppressionCounter
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddebug(String s)Send the log message to the JDK logger.voiddebug(String s, Throwable ex)voidinfo(String s)voidinfo(String s, Throwable ex)booleanisDebugEnabled()booleanisInfoEnabled()voidwarn(String s)voidwarn(String s, Throwable ex)-
Methods inherited from class org.cache2k.core.log.Log
deregisterSuppression, getLog, getLog, registerSuppression
-
-
-
-
Constructor Detail
-
JdkLogger
public JdkLogger(Logger logger)
-
-
Method Detail
-
isDebugEnabled
public boolean isDebugEnabled()
- Specified by:
isDebugEnabledin classLog
-
isInfoEnabled
public boolean isInfoEnabled()
- Specified by:
isInfoEnabledin classLog
-
debug
public void debug(String s)
Send the log message to the JDK logger. Using thelogpprevents the logger to derive the source class name from the call stack.
-
-