org.identityconnectors.common.logging.impl
Class JDKLogger
java.lang.Object
org.identityconnectors.common.logging.impl.JDKLogger
- All Implemented Interfaces:
- LogSpi
public class JDKLogger
- extends Object
- implements LogSpi
Provider to integrate with the JDK logger.
- Since:
- 1.0
- Version:
- $Revision $
- Author:
- Will Droste
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JDKLogger
public JDKLogger()
log
public void log(Class<?> clazz,
String methodName,
Log.Level level,
String message,
Throwable ex)
- Uses the JDK logger to log the message.
- Specified by:
log in interface LogSpi
- See Also:
LogSpi#log(Class, Level, String, Throwable)
isLoggable
public boolean isLoggable(Class<?> clazz,
Log.Level level)
- Use the internal JDK logger to determine if the level is worthy of logging.
- Specified by:
isLoggable in interface LogSpi
Copyright © 2011. All Rights Reserved.