public class Log4JLoggerAccessor extends DefaultAccessor
logger| Constructor and Description |
|---|
Log4JLoggerAccessor() |
| Modifier and Type | Method and Description |
|---|---|
Log4JAppenderAccessor |
getAppender(String name)
Gets the appender.
|
List<Log4JAppenderAccessor> |
getAppenders()
Gets the appenders.
|
String |
getLevel()
Gets the level.
|
String |
getName()
Gets the name.
|
boolean |
isContext()
Checks if is context.
|
boolean |
isRoot()
Checks if is root.
|
void |
setContext(boolean context)
Sets the context.
|
void |
setLevel(String newLevelStr)
Sets the level.
|
getApplication, getProperty, getProperty, getTarget, getTargetClass, invokeMethod, setApplication, setTargetpublic List<Log4JAppenderAccessor> getAppenders()
public Log4JAppenderAccessor getAppender(String name)
name - the namepublic boolean isContext()
public void setContext(boolean context)
context - the new contextpublic boolean isRoot()
public String getName()
public String getLevel()
public void setLevel(String newLevelStr)
newLevelStr - the new levelCopyright © 2009–2020 psi-probe. All rights reserved.