org.jboss.logmanager.log4j
Class BridgeRepository

java.lang.Object
  extended by 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.


Constructor Summary
BridgeRepository()
           
 
Method Summary
 void addHierarchyEventListener(org.apache.log4j.spi.HierarchyEventListener listener)
           
 void emitNoAppenderWarning(org.apache.log4j.Category cat)
           
 org.apache.log4j.Logger exists(java.lang.String name)
           
 void fireAddAppenderEvent(org.apache.log4j.Category logger, org.apache.log4j.Appender appender)
           
 java.util.Enumeration getCurrentCategories()
           
 java.util.Enumeration getCurrentLoggers()
           
 org.apache.log4j.Logger getLogger(java.lang.String name)
           
 org.apache.log4j.Logger getLogger(java.lang.String name, org.apache.log4j.spi.LoggerFactory factory)
           
 org.apache.log4j.Logger getRootLogger()
           
 org.apache.log4j.Level getThreshold()
           
 boolean isDisabled(int level)
           
 void resetConfiguration()
           
 void setThreshold(org.apache.log4j.Level level)
           
 void setThreshold(java.lang.String val)
           
 void shutdown()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BridgeRepository

public BridgeRepository()
Method Detail

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.