Class JDKLogger
java.lang.Object
org.identityconnectors.common.logging.impl.JDKLogger
- All Implemented Interfaces:
LogSpi
Provider to integrate with the JDK logger.
- Since:
- 1.0
- Version:
- $Revision $
- Author:
- Will Droste
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isLoggable
(Class<?> clazz, Log.Level level) Use the internal JDK logger to determine if the level is worthy of logging.void
Uses the JDK logger to log the message.void
Uses the JDK logger to log the message.boolean
needToInferCaller
(Class<?> clazz, Log.Level level) Determines ifLog
need to infer caller based on Class and Level.
-
Constructor Details
-
JDKLogger
public JDKLogger()
-
-
Method Details
-
log
Uses the JDK logger to log the message. -
log
public void log(Class<?> clazz, StackTraceElement caller, Log.Level level, String message, Throwable ex) Uses the JDK logger to log the message. -
isLoggable
Use the internal JDK logger to determine if the level is worthy of logging.- Specified by:
isLoggable
in interfaceLogSpi
-
needToInferCaller
Description copied from interface:LogSpi
Determines ifLog
need to infer caller based on Class and Level.- Specified by:
needToInferCaller
in interfaceLogSpi
-