public class Log4J2WebLoggerContextUtilsAccessor extends DefaultAccessor
| Constructor and Description |
|---|
Log4J2WebLoggerContextUtilsAccessor(ClassLoader cl)
Instantiates a new log4 j 2 web logger context utils accessor.
|
| Modifier and Type | Method and Description |
|---|---|
Log4J2LoggerContextAccessor |
getWebLoggerContext(javax.servlet.ServletContext ctx)
Gets the logger context configured for the given ServletContext.
|
getApplication, getProperty, getProperty, getTarget, getTargetClass, invokeMethod, setApplication, setTargetpublic Log4J2WebLoggerContextUtilsAccessor(ClassLoader cl) throws ClassNotFoundException
cl - the clClassNotFoundException - the class not found exceptionpublic Log4J2LoggerContextAccessor getWebLoggerContext(javax.servlet.ServletContext ctx)
ctx - the servlet contextCopyright © 2009–2020 psi-probe. All rights reserved.