|
||||||||||
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(java.lang.Class clazz)
Convenience method to return a named HAPI logger, without the application having to care about factories. |
static HapiLog |
getHapiLog(java.lang.String name)
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(java.lang.Class clazz)
clazz
- Class for which a log name will be derived
LogConfigurationException
- if a suitable Log
instance cannot be returnedpublic static HapiLog getHapiLog(java.lang.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 |