All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.raynigon.ecs.logging.converter.EventConverterHelper Maven / Gradle / Ivy

The newest version!
package com.raynigon.ecs.logging.converter;

import ch.qos.logback.core.spi.DeferredProcessingAware;
import com.raynigon.ecs.logging.event.EcsLogEvent;
import com.raynigon.ecs.logging.processor.EventProcessor;

import java.util.List;

public class EventConverterHelper {

    public static > R apply(List

processors, R result, E event) { R resultingEvent = result; for (EventProcessor processor : processors) { resultingEvent = processor.process(resultingEvent, event); } return resultingEvent; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy