Class NoOpLogger
java.lang.Object
org.identityconnectors.common.logging.impl.NoOpLogger
- All Implemented Interfaces:
LogSpi
No operation logger. This
LogSpi
does nothing it is synonymous with
/dev/null.- Since:
- 1.0
- Version:
- $Revision: 1.4 $
- Author:
- Will Droste
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isLoggable
(Class<?> clazz, Log.Level level) Always returnsfalse
because there nothing to do.void
Log given the class, level, message, and exception.void
Logs nothing.boolean
needToInferCaller
(Class<?> clazz, Log.Level level) Determines ifLog
need to infer caller based on Class and Level.
-
Constructor Details
-
NoOpLogger
public NoOpLogger()
-
-
Method Details
-
log
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
Always returnsfalse
because there nothing to do.- Specified by:
isLoggable
in interfaceLogSpi
-
needToInferCaller
Description copied from interface:LogSpi
Determines ifLog
need to infer caller based on Class and Level.- Specified by:
needToInferCaller
in interfaceLogSpi
-