|
eXo Kernel :: Commons Utils 2.4.13-GA | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.services.log.impl.AbstractExoLogFactory
public abstract class AbstractExoLogFactory
An abstract logger factory that maintains a cache of name to logger instance.
The cache is based on the ConcurrentHashMap for better scalability.
| Constructor Summary | |
|---|---|
AbstractExoLogFactory()
|
|
| Method Summary | |
|---|---|
Log |
getExoLogger(Class clazz)
Obtain a logger for the specified name. |
Log |
getExoLogger(String name)
Obtain a logger for the specified name. |
protected abstract Log |
getLogger(String name)
Obtain a specified logger. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractExoLogFactory()
| Method Detail |
|---|
protected abstract Log getLogger(String name)
name - the logger name
public final Log getExoLogger(String name)
getExoLogger in interface ExoLogFactoryname - the logger name
public final Log getExoLogger(Class clazz)
getExoLogger in interface ExoLogFactoryclazz - the logger name
|
eXo Kernel :: Commons Utils 2.4.13-GA | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||