ILoggerFactory
public class Log4J2LoggerFactoryImpl extends java.lang.Object implements ILoggerFactory
LogManager
).Constructor | Description |
---|---|
Log4J2LoggerFactoryImpl() |
Creates instance of PSDK Commons Loggers factory as adapter for Log4j v2.x logging framework.
|
Modifier and Type | Method | Description |
---|---|---|
ILogger |
getLogger(java.lang.Class clazz) |
|
ILogger |
getLogger(java.lang.String name) |
|
static org.apache.logging.log4j.spi.LoggerContext |
getLoggerContext() |
Returns Platform SDK common Log4j LoggerContext.
|
static boolean |
isAvailable() |
Deprecated.
|
public Log4J2LoggerFactoryImpl()
java.lang.IllegalStateException
- if Log4J 2.x API is not available@Deprecated public static boolean isAvailable()
Log4J2Checker.isAvailable()
public static org.apache.logging.log4j.spi.LoggerContext getLoggerContext()
public ILogger getLogger(java.lang.String name)
getLogger
in interface ILoggerFactory
public ILogger getLogger(java.lang.Class clazz)
getLogger
in interface ILoggerFactory
Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 9.0.006.00
Copyright © 2006–2019 Genesys Telecommunications Laboratories, Inc. All rights reserved.