SLF4J API
Version 1.4.3

org.slf4j.spi
Interface LocationAwareLogger

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

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 locatin information (method name, line number, etc.).

Since:
1.3
Author:
Ceki Gulcu

Field Summary
static int DEBUG_INT
           
static int ERROR_INT
           
static int INFO_INT
           
static int TRACE_INT
           
static int WARN_INT
           
 
Fields inherited from interface org.slf4j.Logger
ROOT_LOGGER_NAME
 
Method Summary
 void log(Marker marker, String fqcn, int level, String message, Throwable t)
          Printing method which support for location information.
 
Methods inherited from interface org.slf4j.Logger
debug, debug, debug, debug, debug, debug, debug, debug, debug, debug, error, error, error, error, error, error, error, error, error, error, getName, info, info, info, info, info, info, info, info, info, info, isDebugEnabled, isDebugEnabled, isErrorEnabled, isErrorEnabled, isInfoEnabled, isInfoEnabled, isTraceEnabled, isTraceEnabled, isWarnEnabled, isWarnEnabled, trace, trace, trace, trace, trace, trace, trace, trace, trace, trace, warn, warn, warn, warn, warn, warn, warn, warn, warn, warn
 

Field Detail

TRACE_INT

static final int TRACE_INT
See Also:
Constant Field Values

DEBUG_INT

static final int DEBUG_INT
See Also:
Constant Field Values

INFO_INT

static final int INFO_INT
See Also:
Constant Field Values

WARN_INT

static final int WARN_INT
See Also:
Constant Field Values

ERROR_INT

static final int ERROR_INT
See Also:
Constant Field Values
Method Detail

log

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

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

SLF4J API
Version 1.4.3

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