Constructor and Description |
---|
SLF4JLog() |
Modifier and Type | Method and Description |
---|---|
boolean |
isLoggable(Class<?> clazz,
Log.Level level)
Use the internal SLF4J logger to determine if the level is worthy of
logging.
|
void |
log(Class<?> clazz,
StackTraceElement method,
Log.Level level,
String message,
Throwable ex)
Log given the class, level, message, and exception.
|
void |
log(Class<?> clazz,
String methodName,
Log.Level level,
String message,
Throwable ex)
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).
|
public void log(Class<?> clazz, String methodName, Log.Level level, String message, Throwable ex)
log
in interface LogSpi
clazz
- Class that logging.level
- the level at which to log.message
- optional message to send to the log.ex
- optional exception at logging point.LogSpi.log(Class, String,
org.identityconnectors.common.logging.Log.Level, String, Throwable)
public void log(Class<?> clazz, StackTraceElement method, Log.Level level, String message, Throwable ex)
LogSpi
public boolean isLoggable(Class<?> clazz, Log.Level level)
isLoggable
in interface LogSpi
public boolean needToInferCaller(Class<?> clazz, Log.Level level)
needToInferCaller
in interface LogSpi
Copyright © 2022. All rights reserved.