Package org.slf4j.spi

Interface LocationAwareLogger

  • All Superinterfaces:
    Logger
    All Known Implementing Classes:
    Logger

    @Deprecated(since="2022-01-27")
    public interface LocationAwareLogger
    extends Logger
    Deprecated.
    This internal log4j API is not supported by AEM as a Cloud Service.
    An optional interface helping integration with logging systems capable of extracting location information. This interface is mainly used by SLF4J bridges such as jcl-over-slf4j, jul-to-slf4j and log4j-over-slf4j or Logger wrappers which need to provide hints so that the underlying logging system can extract the correct location information (method name, line number).
    Since:
    1.3
    • Method Detail

      • log

        void log​(Marker marker,
                 java.lang.String fqcn,
                 int level,
                 java.lang.String message,
                 java.lang.Object[] argArray,
                 java.lang.Throwable t)
        Deprecated.
        Printing method with support for location information.
        Parameters:
        marker - The marker to be used for this event, may be null.
        fqcn - The fully qualified class name of the logger instance, typically the logger class, logger bridge or a logger wrapper.
        level - One of the level integers defined in this interface
        message - The message for the log event
        t - Throwable associated with the log event, may be null.