org.slf4j.spi

Interface LocationAwareLogger

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 jcl104-over-slf4j which need to provide hints so that the underlying logging system can extract the correct location information (method name, line number, etc.).

Since: 1.3

Author: Ceki Gulcu

Field Summary
intDEBUG_INT
intERROR_INT
intINFO_INT
intTRACE_INT
intWARN_INT
Method Summary
voidlog(Marker marker, String fqcn, int level, String message, Throwable t)
Printing method with support for location information.

Field Detail

DEBUG_INT

public final int DEBUG_INT

ERROR_INT

public final int ERROR_INT

INFO_INT

public final int INFO_INT

TRACE_INT

public final int TRACE_INT

WARN_INT

public final int WARN_INT

Method Detail

log

public void log(Marker marker, String fqcn, int level, String message, Throwable t)
Printing method with support for location information.

Parameters: marker fqcn The fully qualified class name of the caller level message t

Copyright © 2005-2009 QOS.ch. All Rights Reserved.