com.genesyslab.platform.commons.log
Class Slf4JLoggerFactoryImpl
java.lang.Object
com.genesyslab.platform.commons.log.Slf4JLoggerFactoryImpl
- All Implemented Interfaces:
- ILoggerFactory
public class Slf4JLoggerFactoryImpl
- extends java.lang.Object
- implements ILoggerFactory
Platform SDK Commons Logging to Slf4J logger factory adaptor.
It allows to direct PSDK Commons Logging based components' and Platform SDK internal logs
to be sent to SLF4J interface.
Constructor Summary |
Slf4JLoggerFactoryImpl()
Creates instance of PSDK Commons Loggers factory as adapter to Slf4j logging facade. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Slf4JLoggerFactoryImpl
public Slf4JLoggerFactoryImpl()
- Creates instance of PSDK Commons Loggers factory as adapter to Slf4j logging facade.
- Throws:
java.lang.IllegalStateException
- if Slf4j API is not available
isAvailable
@Deprecated
public static boolean isAvailable()
- Deprecated.
- Checks availability of Slf4J API in the classpath.
- Returns:
- 'true' if Slf4j API is available for usage,
and 'false' if it is not.
- See Also:
Slf4JChecker.isAvailable()
getLogger
public ILogger getLogger(java.lang.String name)
- Specified by:
getLogger
in interface ILoggerFactory
getLogger
public ILogger getLogger(java.lang.Class clazz)
- Specified by:
getLogger
in interface ILoggerFactory
Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 8.5.302.00
Copyright © 2006–2017 Genesys Telecommunications Laboratories, Inc. All rights reserved.