@Plugin(name="bundle", category="Lookup") public class ResourceBundleLookup extends AbstractLookup
| Modifier and Type | Field and Description |
|---|---|
private static Logger |
LOGGER |
private static Marker |
LOOKUP |
| Constructor and Description |
|---|
ResourceBundleLookup() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
lookup(LogEvent event,
java.lang.String key)
Looks up the value for the key in the format "BundleName:BundleKey".
|
lookuppublic java.lang.String lookup(LogEvent event, java.lang.String key)
event - The current LogEvent.key - the key to be looked up, may be null