| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | convert(ILoggingEvent event)
Implements abstract ch. |
| public String | |
| private String | outputMDCForAllKeys(Map<String, String> mdcPropertyMap)
if no key is specified, return all the values present in the MDC, in the format "k1=v1, k2=v2, ..." |
| public void | start()
Overrides ch. Implements ch. |
| public void | stop()
Overrides ch. Implements ch. |
| defaultValue | back to summary |
|---|---|
| private String defaultValue | |
| key | back to summary |
|---|---|
| private String key | |
| MDCConverter | back to summary |
|---|---|
| public MDCConverter() | |
| convert | back to summary |
|---|---|
| public String convert(ILoggingEvent event) Implements abstract ch. Doc from ch. The convert method is responsible for extracting data from the event and storing it for later use by the write method.
| |
| getKey | back to summary |
|---|---|
| public String getKey() PrefixCompositeConverter needs the key | |
| outputMDCForAllKeys | back to summary |
|---|---|
| private String outputMDCForAllKeys(Map<String, String> mdcPropertyMap) if no key is specified, return all the values present in the MDC, in the format "k1=v1, k2=v2, ..." | |
| start | back to summary |
|---|---|
| public void start() Overrides ch. Implements ch. Doc from ch. Components that depend on options passed during configuration can override this method in order to make appropriate use of those options. For simpler components, the trivial implementation found in this abstract class will be sufficient.
| |
| stop | back to summary |
|---|---|
| public void stop() Overrides ch. Implements ch.
| |