Class MappingLogEventWriter

java.lang.Object
org.jpos.util.BaseLogEventWriter
org.jpos.util.MappingLogEventWriter
All Implemented Interfaces:
XmlConfigurable, LogEventWriter

LogEventWriter that can be configured with event and output mappers to modify the events before writing to output stream and modify the output stream before writing to the final destination respectfully. Example configuration:
        <writer class="org.jpos.util.MappingLogEventWriter">
            <event-mapper class="...">
                <property....  />
            </event-mapper>
            <event-mapper class="..."/>
            <output-mapper class="...">
                <property.... />
            </output-mapper>
            <output-mapper class="..."/>
        </writer>
    
Since:
2.1.4