org.wildfly.swarm.config.logging.RootLoggerConsumer Maven / Gradle / Ivy
package org.wildfly.swarm.config.logging;
import org.wildfly.swarm.config.logging.RootLogger;
import java.lang.FunctionalInterface;
@FunctionalInterface
public interface RootLoggerConsumer> {
/**
* Configure a pre-constructed instance of RootLogger resource
*
* @parameter Instance of RootLogger to configure
* @return nothing
*/
void accept(T value);
default RootLoggerConsumer andThen(RootLoggerConsumer after) {
return (c) -> {
this.accept(c);
after.accept(c);
};
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy