public class TomcatSlf4jLogbackLoggerAccessor extends DefaultAccessor
logger| Constructor and Description |
|---|
TomcatSlf4jLogbackLoggerAccessor() |
| Modifier and Type | Method and Description |
|---|---|
TomcatSlf4jLogbackAppenderAccessor |
getAppender(String name)
Returns the appender of this logger with the given name.
|
List<TomcatSlf4jLogbackAppenderAccessor> |
getAppenders()
Returns all appenders of this logger.
|
String |
getLevel()
Gets the log level of this logger.
|
String |
getName()
Gets the name.
|
boolean |
isContext()
Checks if is context.
|
boolean |
isRoot()
Checks if is root.
|
void |
setLevel(String newLevelStr)
Sets the log level of this logger.
|
getApplication, getProperty, getProperty, getTarget, getTargetClass, invokeMethod, setApplication, setTargetpublic List<TomcatSlf4jLogbackAppenderAccessor> getAppenders()
TomcatSlf4jLogbackAppenderAccessorspublic TomcatSlf4jLogbackAppenderAccessor getAppender(String name)
name - the name of the appender to returnpublic boolean isContext()
public boolean isRoot()
public String getName()
public String getLevel()
public void setLevel(String newLevelStr)
newLevelStr - the name of the new levelCopyright © 2009–2020 psi-probe. All rights reserved.