com.increff.commons.es.IESLogProvider Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of commons-gelf-springboot Show documentation
Show all versions of commons-gelf-springboot Show documentation
This library is useful for logging HTTP requests and responses using the GELF protocol to Graylog and to ELK for monitoring.
The newest version!
package com.increff.commons.es;
/**
* This interface defines a contract for logging JSON strings of ESRequests.
* Implementors of this interface are expected to provide a concrete implementation of the log method.
*/
public interface IESLogProvider {
/**
* The implementor will log JSON string of the ES Request
* @param json The JSON string to be logged.
*/
public void log(String json);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy