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 java.lang.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(java.lang.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(java.lang.String name)
- Specified by:
getLogger
in interface org.apache.log4j.spi.LoggerRepository
getLogger
public org.apache.log4j.Logger getLogger(java.lang.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(java.lang.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 java.util.Enumeration getCurrentLoggers()
- Specified by:
getCurrentLoggers
in interface org.apache.log4j.spi.LoggerRepository
getCurrentCategories
public java.util.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 © 2009. All Rights Reserved.