Class SLF4JLog
java.lang.Object
org.identityconnectors.common.logging.slf4j.SLF4JLog
- All Implemented Interfaces:
LogSpi
- Since:
- 1.1
- Author:
- Laszlo Hordos
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isLoggable
(Class<?> clazz, Log.Level level) Use the internal SLF4J logger to determine if the level is worthy of logging.void
Log given the class, level, message, and exception.void
Uses the SLF4J logger to log the message.boolean
needToInferCaller
(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:LogSpi
Log given the class, level, message, and exception. -
isLoggable
Use the internal SLF4J logger to determine if the level is worthy of logging.- Specified by:
isLoggable
in interfaceLogSpi
-
needToInferCaller
The caller is extracted only if the Level is OK (Debug).- Specified by:
needToInferCaller
in interfaceLogSpi
-