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

io.quarkiverse.loggingjson.JsonProvider Maven / Gradle / Ivy

There is a newer version: 0.2.3
Show newest version
package io.quarkiverse.loggingjson;

import java.io.IOException;

import org.jboss.logmanager.ExtLogRecord;

public interface JsonProvider {

    /**
     * Called every time log output is getting formatted.
     * 
     * @param generator Used to add data to the json log output.
     * @param event The log event to handle.
     * @throws IOException When failed to format the event.
     */
    void writeTo(JsonGenerator generator, ExtLogRecord event) throws IOException;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy