public class LogManagerFactory
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEFAULT_PACKAGE_NAME
The default package where all the implementations reside.
|
private static LogManager |
mSingletonInstance
Holds a singleton instance that is populated via the loadSingletonInstance()
method.
|
| Constructor and Description |
|---|
LogManagerFactory() |
| Modifier and Type | Method and Description |
|---|---|
static LogManager |
loadInstance(PegasusProperties properties)
Loads the appropriate LogManager class as specified by properties.
|
static LogManager |
loadInstance(java.lang.String implementor,
java.lang.String formatImplementor,
java.util.Properties properties)
Loads the Log Formatter specified.
|
static LogManager |
loadSingletonInstance()
Loads the appropriate LogManager class as specified by properties.
|
static LogManager |
loadSingletonInstance(PegasusProperties properties)
Loads the appropriate LogManager class as specified by properties.
|
public static final java.lang.String DEFAULT_PACKAGE_NAME
private static LogManager mSingletonInstance
public static LogManager loadSingletonInstance() throws LogManagerFactoryException
LogManagerFactoryException - that nests any error that
might occur during the instantiationDEFAULT_PACKAGE_NAMEpublic static LogManager loadSingletonInstance(PegasusProperties properties) throws LogManagerFactoryException
properties - is an instance of properties to use.LogManagerFactoryException - that nests any error that
might occur during the instantiationDEFAULT_PACKAGE_NAMEpublic static LogManager loadInstance(PegasusProperties properties) throws LogManagerFactoryException
properties - is an instance of properties to use.LogManagerFactoryException - that nests any error that
might occur during the instantiationDEFAULT_PACKAGE_NAMEpublic static LogManager loadInstance(java.lang.String implementor, java.lang.String formatImplementor, java.util.Properties properties) throws LogManagerFactoryException
implementor - the name of the class implementing LogManagerformatImplementor - the name of the class implementing the formatting techniqueproperties - propertiesLogManagerFactoryException - that nests any error that
might occur during the instantiationDEFAULT_PACKAGE_NAME