1 package org.slf4j.spi; 2 3 import org.slf4j.event.LoggingEvent; 4 5 /** 6 * A logger capable of logging from org.slf4j.event.LoggingEvent implements this interface. 7 * 8 * <p>Please note that when the {@link #log(LoggingEvent)} method assumes that 9 * the event was filtered beforehand and no further filtering needs to occur by the method itself. 10 * <p> 11 * 12 * <p>Implementations of this interface <b>may</b> apply further filtering but they are not 13 * required to do so. In other words, {@link #log(LoggingEvent)} method is free to assume that 14 * the event was filtered beforehand and no further filtering needs to occur in the method itself.</p> 15 * 16 * See also https://jira.qos.ch/browse/SLF4J-575 17 * 18 * @author Ceki Gulcu 19 * @since 2.0.0 20 */ 21 public interface LoggingEventAware { log(LoggingEvent event)22 void log(LoggingEvent event); 23 } 24