org.slf4j.spi.CallerBoundaryAware Maven / Gradle / Ivy
Go to download
This artifact provides a single jar that contains all classes required to use remote EJB and JMS, including
all dependencies. It is intended for use by those not using maven, maven users should just import the EJB and
JMS BOM's instead (shaded JAR's cause lots of problems with maven, as it is very easy to inadvertently end up
with different versions on classes on the class path).
The newest version!
package org.slf4j.spi;
import org.slf4j.event.LoggingEvent;
/**
* Additional interface to {@link LoggingEventBuilder} and
* {@link org.slf4j.event.LoggingEvent LoggingEvent}.
*
* Implementations of {@link LoggingEventBuilder} and {@link LoggingEvent} may optionally
* implement {@link CallerBoundaryAware} in order to support caller info extraction.
*
* This interface is intended for use by logging backends or logging bridges.
*
* @author Ceki Gulcu
*
*/
public interface CallerBoundaryAware {
/**
* Add a fqcn (fully qualified class name) to this event, presumed to be the caller boundary.
*
* @param fqcn
*/
void setCallerBoundary(String fqcn);
}