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

com.tiscover.logging.logstash.LogstashSocket Maven / Gradle / Ivy

Go to download

Tiscover-Logging is a simple library that connects your java application directly to graphite for a numerical overview of the System and to Logstash/Elkstack for error-messages or other textual logging

There is a newer version: 1.4
Show newest version
package com.tiscover.logging.logstash;

import java.io.IOException;

import com.tiscover.logging.logstash.messages.LogstashMessage;
import com.tiscover.logging.observer.DefaultEnabledObserver;
import com.tiscover.logging.observer.EnabledObserver;

public class LogstashSocket extends com.tiscover.logging.AbstractLoggingSocket {
	public LogstashSocket() {
		this(new DefaultEnabledObserver());
	}

	public LogstashSocket(EnabledObserver observer) {
		super(observer);
	}

	public void send(LogstashMessage o) throws IOException {
		send(o.toSocketMessage());
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy