org.identityconnectors.common.logging.impl
Class NoOpLogger
java.lang.Object
org.identityconnectors.common.logging.impl.NoOpLogger
- All Implemented Interfaces:
- LogSpi
public class NoOpLogger
- extends Object
- implements LogSpi
No operation logger. This LogSpi does nothing it is synonymous with
/dev/null.
- Since:
- 1.0
- Version:
- $Revision: 1.4 $
- Author:
- Will Droste
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NoOpLogger
public NoOpLogger()
log
public void log(Class<?> clazz,
String methodName,
Log.Level level,
String message,
Throwable ex)
- Logs nothing. Its a black hole command.
- Specified by:
log in interface LogSpi
isLoggable
public boolean isLoggable(Class<?> clazz,
Log.Level level)
- Always returns
false because there nothing to do.
- Specified by:
isLoggable in interface LogSpi
Copyright © 2011. All Rights Reserved.