|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.genesyslab.platform.logging.LoggerFactory
public final class LoggerFactory
The main class which is used to create logger instances.
Constructor Summary | |
---|---|
LoggerFactory()
Default constructor. |
|
LoggerFactory(java.lang.String root)
Constructor that creates root logger instance with specified name. |
Method Summary | |
---|---|
ILogger |
getLogger(java.lang.Class cls)
Creates child logger for specified class |
ILogger |
getLogger(java.lang.String name)
Creates child logger with specified name |
RootLogger |
getRootLogger()
Gets instance of root logger |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LoggerFactory() throws LoggerException
LoggerException
public LoggerFactory(java.lang.String root) throws LoggerException
root
- the name of the root logger
LoggerException
Method Detail |
---|
public RootLogger getRootLogger()
public ILogger getLogger(java.lang.String name)
getLogger
in interface ILoggerFactory
public ILogger getLogger(java.lang.Class cls)
getLogger
in interface ILoggerFactory
|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |