Platform SDK Java 8.5 API Reference

com.genesyslab.platform.commons.log
Class Log4JLoggerFactoryImpl

java.lang.Object
  extended by com.genesyslab.platform.commons.log.Log4JLoggerFactoryImpl
All Implemented Interfaces:
ILoggerFactory

public class Log4JLoggerFactoryImpl
extends java.lang.Object
implements ILoggerFactory

Platform SDK Commons Logger Factory implementation to send PSDK internal logs to Log4j v1.x logging system (LogManager).


Constructor Summary
Log4JLoggerFactoryImpl()
          Creates instance of PSDK Commons Loggers factory as adapter for Log4j v1.x logging framework.
 
Method Summary
 ILogger getLogger(java.lang.Class clazz)
           
 ILogger getLogger(java.lang.String name)
           
static boolean isAvailable()
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Log4JLoggerFactoryImpl

public Log4JLoggerFactoryImpl()
Creates instance of PSDK Commons Loggers factory as adapter for Log4j v1.x logging framework.

Method Detail

isAvailable

@Deprecated
public static boolean isAvailable()
Deprecated. 

Checks availability of Log4j v1.x logging framework in the classpath.

Returns:
'true' if Log4j v1.x framework is available for usage, and 'false' if it is not.
See Also:
Log4JChecker.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

Platform SDK Java 8.5 API Reference

Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 8.5.302.00
Copyright © 2006–2017 Genesys Telecommunications Laboratories, Inc. All rights reserved.