|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sibvisions.util.log.LoggerFactory
com.sibvisions.util.log.log4j.Log4jLoggerFactory
public class Log4jLoggerFactory
The Log4jLoggerFactory
is the LoggerFactory
extension for log4j. It supports
configuration via log4j.properties or uses BasicConfigurator
if property file is not
available.
Field Summary |
---|
Fields inherited from class com.sibvisions.util.log.LoggerFactory |
---|
LOGFACTORY_DEFAULT |
Constructor Summary | |
---|---|
Log4jLoggerFactory()
|
Method Summary | |
---|---|
ILogger |
createLogger(java.lang.String pName)
Creates an ILogger . |
void |
init()
Initializes the factory instance. |
Methods inherited from class com.sibvisions.util.log.LoggerFactory |
---|
destroy, getInstance, getInstance, getLevel, getLevel, getLogger, init, isInitDone, isInitialized, setLevel, setLevel |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Log4jLoggerFactory()
Method Detail |
---|
public ILogger createLogger(java.lang.String pName)
ILogger
.
createLogger
in class LoggerFactory
pName
- the name for which a logger should be returned/created
ILogger
implementationpublic void init()
init
in class LoggerFactory
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |