1 package org.slf4j.spi;
2
3 import org.slf4j.event.LoggingEvent;
4
5 /**
6 * Additional interface to {@link LoggingEventBuilder} and
7 * {@link org.slf4j.event.LoggingEvent LoggingEvent}.
8 *
9 * Implementations of {@link LoggingEventBuilder} and {@link LoggingEvent} may optionally
10 * implement {@link CallerBoundaryAware} in order to support caller info extraction.
11 *
12 * This interface is intended for use by logging backends or logging bridges.
13 *
14 * @author Ceki Gulcu
15 *
16 */
17 public interface CallerBoundaryAware {
18
19 /**
20 * Add a fqcn (fully qualified class name) to this event, presumed to be the caller boundary.
21 *
22 * @param fqcn
23 */
24 void setCallerBoundary(String fqcn);
25 }