001package org.slf4j.spi;
002
003import org.slf4j.event.LoggingEvent;
004
005/**
006 * Additional interface to {@link LoggingEventBuilder} and 
007 * {@link org.slf4j.event.LoggingEvent LoggingEvent}.
008 * 
009 * Implementations of {@link LoggingEventBuilder} and  {@link LoggingEvent} may optionally
010 * implement {@link CallerBoundaryAware} in order to support caller info extraction.
011 *
012 * This interface is intended for use by logging backends or logging bridges. 
013 * 
014 * @author Ceki Gulcu
015 *
016 */
017public interface CallerBoundaryAware {
018
019    /**
020     * Add a fqcn (fully qualified class name) to this event, presumed to be the caller boundary.
021     * 
022     * @param fqcn
023     */
024    void setCallerBoundary(String fqcn);
025}