Package org.slf4j.spi

Interface LocationAwareLogger

All Superinterfaces:
Logger
All Known Implementing Classes:
JDK14LoggerAdapter, Reload4jLoggerAdapter

public interface LocationAwareLogger extends Logger
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).

In response to SLF4J-118, the log() method was modified to accept an additional Object[] parameter. This Object[] represents arguments of the log request. Due to this modification, slf4j-api version 1.6.x no longer work with bindings shipping with SLF4J 1.5.x, instead bindings shipping with 1.6.x or later are required. See also commit 6dd2 dated April 9th, 2010.

Since:
1.3
Author:
Ceki Gülcü