org.slf4j.spi.LoggingEventBuilder Maven / Gradle / Ivy
package org.slf4j.spi;
import java.util.function.Supplier;
import org.slf4j.Marker;
/**
* A fluent API for creating logging events.
*
* @author Ceki Gülcü
* @since 2.0.0
*
*/
public interface LoggingEventBuilder {
LoggingEventBuilder setCause(Throwable cause);
LoggingEventBuilder addMarker(Marker marker);
LoggingEventBuilder addArgument(Object p);
LoggingEventBuilder addArgument(Supplier> objectSupplier);
LoggingEventBuilder addKeyValue(String key, Object value);
LoggingEventBuilder addKeyValue(String key, Supplier
© 2015 - 2024 Weber Informatics LLC | Privacy Policy