public class Log4J2AppenderAccessor extends AbstractLogDestination
logger| Constructor and Description |
|---|
Log4J2AppenderAccessor() |
| Modifier and Type | Method and Description |
|---|---|
String |
getConversionPattern()
Gets the conversion pattern.
|
File |
getFile()
Gets the file.
|
String |
getIndex()
Gets the index.
|
String |
getLevel()
Gets the level.
|
Log4J2LoggerConfigAccessor |
getLoggerAccessor()
Gets the logger accessor.
|
String |
getLogType()
Type of the log, e.g.
|
String |
getName()
Gets the name.
|
String[] |
getValidLevels()
Gets the valid levels.
|
boolean |
isContext()
Checks if is context.
|
boolean |
isRoot()
Checks if is root.
|
void |
setLoggerAccessor(Log4J2LoggerConfigAccessor loggerAccessor)
Sets the logger accessor.
|
getEncoding, getLastModified, getSize, getStdoutFilegetApplication, getProperty, getProperty, getTarget, getTargetClass, invokeMethod, setApplication, setTargetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetApplication, getTargetClasspublic Log4J2LoggerConfigAccessor getLoggerAccessor()
public void setLoggerAccessor(Log4J2LoggerConfigAccessor loggerAccessor)
loggerAccessor - the new logger accessorpublic boolean isContext()
LogDestinationisContext in interface LogDestinationisContext in class AbstractLogDestinationpublic boolean isRoot()
LogDestinationisRoot in interface LogDestinationisRoot in class AbstractLogDestinationpublic String getName()
LogDestinationpublic String getLogType()
LogDestinationpublic String getIndex()
LogDestinationgetIndex in interface LogDestinationgetIndex in class AbstractLogDestinationpublic String getConversionPattern()
LogDestinationgetConversionPattern in interface LogDestinationgetConversionPattern in class AbstractLogDestinationpublic File getFile()
LogDestinationgetFile in interface LogDestinationgetFile in class AbstractLogDestinationpublic String getLevel()
LogDestinationgetLevel in interface LogDestinationgetLevel in class AbstractLogDestinationpublic String[] getValidLevels()
LogDestinationgetValidLevels in interface LogDestinationgetValidLevels in class AbstractLogDestinationCopyright © 2009–2020 psi-probe. All rights reserved.