All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.slf4j.spi.CallerBoundaryAware Maven / Gradle / Ivy

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);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy