Package | Description |
---|---|
org.identityconnectors.common.logging |
This package is responsible for providing logging to the Framework and
the Connectors.
|
org.identityconnectors.common.logging.impl | |
org.identityconnectors.common.logging.slf4j | |
org.identityconnectors.framework.impl.api.local.operations |
Modifier and Type | Method and Description |
---|---|
static Log.Level |
Log.Level.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Log.Level[] |
Log.Level.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
boolean |
LogSpi.isLoggable(Class<?> clazz,
Log.Level level)
Determines if the it should be logged based on Class and Level.
|
boolean |
Log.isLoggable(Log.Level level)
Determine if its log-able at this level within this class.
|
void |
LogSpi.log(Class<?> clazz,
StackTraceElement caller,
Log.Level level,
String message,
Throwable ex)
Log given the class, level, message, and exception.
|
void |
LogSpi.log(Class<?> clazz,
String method,
Log.Level level,
String message,
Throwable ex)
Log given the class, level, message, and exception.
|
void |
Log.log(Class<?> clazz,
String method,
Log.Level level,
String message,
Throwable ex)
Lowest level logging method.
|
void |
Log.log(Log.Level level,
Throwable ex,
String format,
Object... args)
Logs based on the parameters given.
|
protected void |
Log.log(Log.Level level,
Throwable ex,
String message,
StackTraceElement[] locations) |
boolean |
LogSpi.needToInferCaller(Class<?> clazz,
Log.Level level)
Determines if
Log need to infer caller based on Class and Level. |
Modifier and Type | Method and Description |
---|---|
boolean |
JDKLogger.isLoggable(Class<?> clazz,
Log.Level level)
Use the internal JDK logger to determine if the level is worthy of logging.
|
boolean |
NoOpLogger.isLoggable(Class<?> clazz,
Log.Level level)
Always returns
false because there nothing to do. |
void |
JDKLogger.log(Class<?> clazz,
StackTraceElement caller,
Log.Level level,
String message,
Throwable ex)
Uses the JDK logger to log the message.
|
void |
NoOpLogger.log(Class<?> clazz,
StackTraceElement method,
Log.Level level,
String message,
Throwable ex) |
void |
JDKLogger.log(Class<?> clazz,
String methodName,
Log.Level level,
String message,
Throwable ex)
Uses the JDK logger to log the message.
|
void |
NoOpLogger.log(Class<?> clazz,
String methodName,
Log.Level level,
String message,
Throwable ex)
Logs nothing.
|
boolean |
JDKLogger.needToInferCaller(Class<?> clazz,
Log.Level level) |
boolean |
NoOpLogger.needToInferCaller(Class<?> clazz,
Log.Level level) |
Modifier and Type | Method and Description |
---|---|
boolean |
SLF4JLog.isLoggable(Class<?> clazz,
Log.Level level)
Use the internal SLF4J logger to determine if the level is worthy of
logging.
|
void |
SLF4JLog.log(Class<?> clazz,
StackTraceElement method,
Log.Level level,
String message,
Throwable ex) |
void |
SLF4JLog.log(Class<?> clazz,
String methodName,
Log.Level level,
String message,
Throwable ex)
Uses the SLF4J logger to log the message.
|
boolean |
SLF4JLog.needToInferCaller(Class<?> clazz,
Log.Level level)
The caller is extracted only if the Level is OK (Debug).
|
Modifier and Type | Field and Description |
---|---|
static Log.Level |
SpiOperationLoggingUtil.LOG_LEVEL |
Copyright © 2022. All rights reserved.