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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisLoggable(Class<?> clazz, Log.Level level) Always returnsfalsebecause there nothing to do.voidLog given the class, level, message, and exception.voidLogs nothing.booleanneedToInferCaller(Class<?> clazz, Log.Level level) Determines ifLogneed 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:LogSpiLog given the class, level, message, and exception. -
isLoggable
Always returnsfalsebecause there nothing to do.- Specified by:
isLoggablein interfaceLogSpi
-
needToInferCaller
Description copied from interface:LogSpiDetermines ifLogneed to infer caller based on Class and Level.- Specified by:
needToInferCallerin interfaceLogSpi
-