org.jgroups.logging
Class LogFactory

java.lang.Object
  extended by org.jgroups.logging.LogFactory

public class LogFactory
extends java.lang.Object

Factory that creates Log instances.

Since:
4.0
Author:
Manik Surtani, Bela Ban

Field Summary
protected static CustomLogFactory custom_log_factory
           
static boolean IS_LOG4J_AVAILABLE
           
static boolean IS_LOG4J2_AVAILABLE
           
protected static boolean USE_JDK_LOGGER
           
 
Constructor Summary
LogFactory()
           
 
Method Summary
static Log getLog(java.lang.Class clazz)
           
static Log getLog(java.lang.String category)
           
protected static boolean isAvailable(java.lang.String classname)
           
protected static boolean isPropertySet(java.lang.String property_name)
           
static java.lang.String loggerType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

IS_LOG4J2_AVAILABLE

public static final boolean IS_LOG4J2_AVAILABLE

IS_LOG4J_AVAILABLE

public static final boolean IS_LOG4J_AVAILABLE

USE_JDK_LOGGER

protected static final boolean USE_JDK_LOGGER

custom_log_factory

protected static final CustomLogFactory custom_log_factory
Constructor Detail

LogFactory

public LogFactory()
Method Detail

loggerType

public static java.lang.String loggerType()

isAvailable

protected static boolean isAvailable(java.lang.String classname)

isPropertySet

protected static boolean isPropertySet(java.lang.String property_name)

getLog

public static Log getLog(java.lang.Class clazz)

getLog

public static Log getLog(java.lang.String category)


Copyright © 1998-2012 Bela Ban / Red Hat. All Rights Reserved.