Platform SDK Java 8.5 API Reference

com.genesyslab.platform.commons.log
Class Log4J2Checker

java.lang.Object
  extended by com.genesyslab.platform.commons.log.Log4J2Checker

public class Log4J2Checker
extends java.lang.Object

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


Constructor Summary
Log4J2Checker()
           
 
Method Summary
static boolean isAvailable()
          Checks availability of Log4j v2.x logging framework API in the classpath.
It means availability of "log4j-api-2.x.jar".
static boolean isCoreAvailable()
          Checks availability of Log4j v2.x logging framework Core implementation in the classpath.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Log4J2Checker

public Log4J2Checker()
Method Detail

isAvailable

public static boolean isAvailable()
Checks availability of Log4j v2.x logging framework API in the classpath.
It means availability of "log4j-api-2.x.jar".

Returns:
true if Log4j2 framework API is accessible, and false if it is not.

isCoreAvailable

public static boolean isCoreAvailable()
Checks availability of Log4j v2.x logging framework Core implementation in the classpath. It means availability of "log4j-core-2.x.jar".

Returns:
true if Log4j2 framework Core implementation is accessible, and false if it is not.

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.