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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisLoggable(Class<?> clazz, Log.Level level) Use the internal JDK logger to determine if the level is worthy of logging.voidUses the JDK logger to log the message.voidUses the JDK logger to log the message.booleanneedToInferCaller(Class<?> clazz, Log.Level level) Determines ifLogneed 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:
isLoggablein interfaceLogSpi
-
needToInferCaller
Description copied from interface:LogSpiDetermines ifLogneed to infer caller based on Class and Level.- Specified by:
needToInferCallerin interfaceLogSpi
-