Class SLF4JLog
java.lang.Object
org.identityconnectors.common.logging.slf4j.SLF4JLog
- All Implemented Interfaces:
LogSpi
- Since:
- 1.1
- Author:
- Laszlo Hordos
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisLoggable(Class<?> clazz, Log.Level level) Use the internal SLF4J logger to determine if the level is worthy of logging.voidLog given the class, level, message, and exception.voidUses the SLF4J logger to log the message.booleanneedToInferCaller(Class<?> clazz, Log.Level level) The caller is extracted only if the Level is OK (Debug).
-
Constructor Details
-
SLF4JLog
public SLF4JLog()
-
-
Method Details
-
log
Uses the SLF4J logger to log the message. -
log
public void log(Class<?> clazz, StackTraceElement method, Log.Level level, String message, Throwable ex) Description copied from interface:LogSpiLog given the class, level, message, and exception. -
isLoggable
Use the internal SLF4J logger to determine if the level is worthy of logging.- Specified by:
isLoggablein interfaceLogSpi
-
needToInferCaller
The caller is extracted only if the Level is OK (Debug).- Specified by:
needToInferCallerin interfaceLogSpi
-