@Plugin(name="path",
category="Lookup")
public class LogFilePathLookup
extends Object
implements org.apache.logging.log4j.core.lookup.StrLookup
| Constructor and Description |
|---|
LogFilePathLookup() |
| Modifier and Type | Method and Description |
|---|---|
String |
lookup(org.apache.logging.log4j.core.LogEvent logEvent,
String key) |
String |
lookup(String key) |
static void |
setLogFilePath(String logFilePath)
Sets the log file path.
|
public String lookup(String key)
lookup in interface org.apache.logging.log4j.core.lookup.StrLookuppublic String lookup(org.apache.logging.log4j.core.LogEvent logEvent, String key)
lookup in interface org.apache.logging.log4j.core.lookup.StrLookuppublic static void setLogFilePath(String logFilePath)
logFilePath - log file pathCopyright © 2018 WSO2. All rights reserved.