org.infinispan.util.logging
Class LogFactory

java.lang.Object
  extended by org.infinispan.util.logging.LogFactory

public class LogFactory
extends Object

Factory that creates Log instances.

Since:
4.0
Author:
Manik Surtani

Constructor Summary
LogFactory()
           
 
Method Summary
static Log getLog(Class<?> clazz)
           
static
<T> T
getLog(Class<?> clazz, Class<T> logClass)
           
static void popNDC(boolean isTrace)
           
static void pushNDC(String cacheName, boolean isTrace)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogFactory

public LogFactory()
Method Detail

getLog

public static Log getLog(Class<?> clazz)

getLog

public static <T> T getLog(Class<?> clazz,
                           Class<T> logClass)

pushNDC

public static void pushNDC(String cacheName,
                           boolean isTrace)

popNDC

public static void popNDC(boolean isTrace)

-->

Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.