org.jboss.logmanager.log4j
Class BridgeRepository
java.lang.Object
org.jboss.logmanager.log4j.BridgeRepository
- All Implemented Interfaces:
- org.apache.log4j.spi.LoggerRepository
public final class BridgeRepository
- extends Object
- implements org.apache.log4j.spi.LoggerRepository
A logger repository which returns log4j loggers which bridge to their corresponding LogManager logger.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BridgeRepository
public BridgeRepository()
addHierarchyEventListener
public void addHierarchyEventListener(org.apache.log4j.spi.HierarchyEventListener listener)
- Specified by:
addHierarchyEventListener in interface org.apache.log4j.spi.LoggerRepository
isDisabled
public boolean isDisabled(int level)
- Specified by:
isDisabled in interface org.apache.log4j.spi.LoggerRepository
setThreshold
public void setThreshold(org.apache.log4j.Level level)
- Specified by:
setThreshold in interface org.apache.log4j.spi.LoggerRepository
setThreshold
public void setThreshold(String val)
- Specified by:
setThreshold in interface org.apache.log4j.spi.LoggerRepository
emitNoAppenderWarning
public void emitNoAppenderWarning(org.apache.log4j.Category cat)
- Specified by:
emitNoAppenderWarning in interface org.apache.log4j.spi.LoggerRepository
getThreshold
public org.apache.log4j.Level getThreshold()
- Specified by:
getThreshold in interface org.apache.log4j.spi.LoggerRepository
getLogger
public org.apache.log4j.Logger getLogger(String name)
- Specified by:
getLogger in interface org.apache.log4j.spi.LoggerRepository
getLogger
public org.apache.log4j.Logger getLogger(String name,
org.apache.log4j.spi.LoggerFactory factory)
- Specified by:
getLogger in interface org.apache.log4j.spi.LoggerRepository
getRootLogger
public org.apache.log4j.Logger getRootLogger()
- Specified by:
getRootLogger in interface org.apache.log4j.spi.LoggerRepository
exists
public org.apache.log4j.Logger exists(String name)
- Specified by:
exists in interface org.apache.log4j.spi.LoggerRepository
shutdown
public void shutdown()
- Specified by:
shutdown in interface org.apache.log4j.spi.LoggerRepository
getCurrentLoggers
public Enumeration getCurrentLoggers()
- Specified by:
getCurrentLoggers in interface org.apache.log4j.spi.LoggerRepository
getCurrentCategories
public Enumeration getCurrentCategories()
- Specified by:
getCurrentCategories in interface org.apache.log4j.spi.LoggerRepository
fireAddAppenderEvent
public void fireAddAppenderEvent(org.apache.log4j.Category logger,
org.apache.log4j.Appender appender)
- Specified by:
fireAddAppenderEvent in interface org.apache.log4j.spi.LoggerRepository
resetConfiguration
public void resetConfiguration()
- Specified by:
resetConfiguration in interface org.apache.log4j.spi.LoggerRepository
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.