public class SyslogStartConverter extends ClassicConverter
Constructor and Description |
---|
SyslogStartConverter() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
convert(ILoggingEvent event)
The convert method is responsible for extracting data from the event and
storing it for later use by the write method.
|
java.lang.String |
getLocalHostname()
This method gets the network name of the machine we are running on.
|
void |
start()
Components that depend on options passed during configuration can override
this method in order to make appropriate use of those options.
|
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getFirstOption, isStarted, setContext, setOptionList, stop
getFormattingInfo, setFormattingInfo, write
public void start()
DynamicConverter
start
in interface LifeCycle
start
in class DynamicConverter<ILoggingEvent>
public java.lang.String convert(ILoggingEvent event)
Converter
convert
in class Converter<ILoggingEvent>
public java.lang.String getLocalHostname()
Copyright © 2010 - 2020 Adobe. All Rights Reserved