org.objectweb.easybeans.log
Class JLogFactory

java.lang.Object
  extended by org.objectweb.easybeans.log.JLogFactory

public final class JLogFactory
extends java.lang.Object

This factory delegates to commons logging factory the creation of a logger. Then, this logger is wrapped into an EasyBeans logger.

Author:
Florent Benoit

Constructor Summary
private JLogFactory()
          Utility class, no public constructor.
 
Method Summary
static JLog getLog(java.lang.Class clazz)
          Factory method used to return a logger.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JLogFactory

private JLogFactory()
Utility class, no public constructor.

Method Detail

getLog

public static JLog getLog(java.lang.Class clazz)
Factory method used to return a logger.

Parameters:
clazz - a class used as a key for the logger
Returns:
an EasyBeans logger.