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

biz.paluch.logging.gelf.intern.GelfSender Maven / Gradle / Ivy

There is a newer version: 1.15.1
Show newest version
package biz.paluch.logging.gelf.intern;

import java.io.Closeable;

/**
 * @author https://github.com/t0xa/gelfj
 */
public interface GelfSender extends Closeable {

    /**
     * Send the Gelf message.
     *
     * @param message the message
     * @return {@literal true} if the message was sent
     */
    boolean sendMessage(GelfMessage message);

    /**
     * Close the sender and free resources.
     */
    void close();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy