|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectca.uhn.log.HapiLogFactory
public final class HapiLogFactory
Factory for creating HapiLog instances. It is factory
that delegates the discovery process to the LogFactory
class and wraps the discovered Log with a new instance of
the HapiLog class.
| Method Summary | |
|---|---|
static HapiLog |
getHapiLog(Class<?> clazz)
Deprecated. Convenience method to return a named HAPI logger, without the application having to care about factories. |
static HapiLog |
getHapiLog(String name)
Deprecated. Convenience method to return a named HAPI logger, without the application having to care about factories. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static HapiLog getHapiLog(Class<?> clazz)
clazz - Class for which a log name will be derived
LogConfigurationException - if a suitable Log
instance cannot be returnedpublic static HapiLog getHapiLog(String name)
name - Logical name of the Log instance to be
returned (the meaning of this name is only known to the underlying
logging implementation that is being wrapped)
LogConfigurationException - if a suitable Log
instance cannot be returned
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||