Class NoOpLogger
- java.lang.Object
-
- org.identityconnectors.common.logging.impl.NoOpLogger
-
-
Constructor Summary
Constructors Constructor Description NoOpLogger()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isLoggable(Class<?> clazz, Log.Level level)
Always returnsfalse
because there nothing to do.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)
Logs nothing.boolean
needToInferCaller(Class<?> clazz, Log.Level level)
Determines ifLog
need to infer caller based on Class and Level.
-
-
-
Method Detail
-
log
public void log(Class<?> clazz, String methodName, Log.Level level, String message, Throwable ex)
Logs nothing. Its a black hole command.
-
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
public boolean isLoggable(Class<?> clazz, Log.Level level)
Always returnsfalse
because there nothing to do.- Specified by:
isLoggable
in interfaceLogSpi
-
-