public final class HapiLogFactory extends Object
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.
| Modifier and Type | Method and Description |
|---|---|
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.
|
public static HapiLog getHapiLog(Class<?> clazz)
clazz - Class for which a log name will be derivedLogConfigurationException - 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 returnedCopyright © 2001-2012 University Health Network. All Rights Reserved.