|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.rhi.architecture.logging.LogFactory
com.rhi.architecture.logging.DefaultLogFactory
DefaultLogFactory used to construct DefaultLogger which logs all messages to stderr.
Field Summary |
Fields inherited from class com.rhi.architecture.logging.LogFactory |
KEY |
Constructor Summary | |
DefaultLogFactory()
|
Method Summary | |
void |
close()
Perform whatever cleanup is required of the underlying object.. |
Logger |
getDefaultLogger()
There is only 1 stderr, therefore return the 1 Logger which exists. |
Logger |
getLogger(java.lang.String type)
For the default logger, there is no such thing as a logger w/ a specific name, so just return stderr for everything. |
void |
init(java.util.Properties p)
init() |
Methods inherited from class com.rhi.architecture.logging.LogFactory |
getFactory, getLogger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DefaultLogFactory()
Method Detail |
public void init(java.util.Properties p) throws InitializationException
p
-
InitializationException
Resource.init(java.util.Properties)
public void close()
Resource
Resource.close()
public Logger getDefaultLogger() throws ConfigurationException
getDefaultLogger
in class LogFactory
ConfigurationException
LogFactory.getDefaultLogger()
public Logger getLogger(java.lang.String type) throws ConfigurationException
getLogger
in class LogFactory
type
-
ConfigurationException
LogFactory.getLogger(String)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |