Package org.apache.log4j
Class JBossLogManagerFacade
- java.lang.Object
-
- org.apache.log4j.JBossLogManagerFacade
-
public class JBossLogManagerFacade extends Object
A simple facade to interact betweenLogManager
andLogManager
.- Author:
- James R. Perkins
-
-
Field Summary
Fields Modifier and Type Field Description static String
JBL_ROOT_NAME
static String
LOG4J_ROOT_NAME
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.apache.log4j.spi.LoggerRepository
getLoggerRepository(org.jboss.logmanager.LogContext logContext)
Gets the log4j logger repository for the log context.
-
-
-
Field Detail
-
LOG4J_ROOT_NAME
public static final String LOG4J_ROOT_NAME
- See Also:
- Constant Field Values
-
JBL_ROOT_NAME
public static final String JBL_ROOT_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getLoggerRepository
public static org.apache.log4j.spi.LoggerRepository getLoggerRepository(org.jboss.logmanager.LogContext logContext)
Gets the log4j logger repository for the log context.- Parameters:
logContext
- the log context which the log4j repository is located on or should be created on ornull
to create the repository on the default log context- Returns:
- the log4j logger repository
-
-