|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.easybeans.log.JLogFactory
public final class JLogFactory
This factory delegates to commons logging factory the creation of a logger. Then, this logger is wrapped into an EasyBeans logger.
Field Summary | |
---|---|
private static java.lang.String |
COMMONS_LOGGING_PROPERTY
Use of commons logging. |
private static boolean |
init
Initialized ? |
private static boolean |
useCommonsLogging
Use commons logging instead ? |
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 |
Field Detail |
---|
private static final java.lang.String COMMONS_LOGGING_PROPERTY
private static boolean useCommonsLogging
private static boolean init
Constructor Detail |
---|
private JLogFactory()
Method Detail |
---|
public static JLog getLog(java.lang.Class clazz)
clazz
- a class used as a key for the logger
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |