com.sibvisions.util.log.log4j
Class Log4jLoggerFactory
java.lang.Object
com.sibvisions.util.log.LoggerFactory
com.sibvisions.util.log.log4j.Log4jLoggerFactory
public class Log4jLoggerFactory
- extends LoggerFactory
The Log4jLoggerFactory is the LoggerFactory extension for log4j. It supports
configuration via log4j.properties or uses BasicConfigurator if property file is not
available.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Log4jLoggerFactory
public Log4jLoggerFactory()
createLogger
public ILogger createLogger(String pName)
- Creates an
ILogger.
- Specified by:
createLogger in class LoggerFactory
- Parameters:
pName - the name for which a logger should be returned/created
- Returns:
- the
ILogger implementation
init
public void init()
- Initializes the factory instance.
- Specified by:
init in class LoggerFactory
Copyright © 2009 SIB Visions GmbH. All Rights Reserved.