net.aequologica.neo.shakuntala.AbstractEventWriter Maven / Gradle / Ivy
package net.aequologica.neo.shakuntala;
import java.io.IOException;
public abstract class AbstractEventWriter implements EventWriter {
@Override
public void init() throws IOException {
write("init", "init", null, null);
}
@Override
public void write(final String key, final String value, final Event.Level level, final Object object) throws IOException {
write(new Event(key, value, level, object));
}
@Override
public void close() throws IOException {
write("close", "close", null, null);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy