Package | Description |
---|---|
org.apache.commons.logging.impl |
SLF4J based implementation of commons-logging wrapper APIs.
|
org.apache.log4j |
An rather minimal but sufficient implementation redirecting all
calls to a log4j logger to a logback logger.
|
org.slf4j |
Core logging interfaces.
|
org.slf4j.bridge |
Bridge/route all JUL log records to the SLF4J API.
|
org.slf4j.cal10n |
SLF4J API extensions
|
org.slf4j.event | |
org.slf4j.ext |
Localized logging using the CAL10N API.
|
org.slf4j.helpers |
Helper classes.
|
org.slf4j.jul | |
org.slf4j.profiler |
Poor man's profiler API
|
org.slf4j.reload4j | |
org.slf4j.simple | |
org.slf4j.spi |
Classes and interfaces which are internal to SLF4J.
|
Constructor and Description |
---|
SLF4JLog(Logger logger) |
Modifier and Type | Field and Description |
---|---|
protected Logger |
Category.slf4jLogger |
Modifier and Type | Method and Description |
---|---|
static Logger |
LoggerFactory.getLogger(Class<?> clazz)
Return a logger named corresponding to the class passed as parameter,
using the statically bound
ILoggerFactory instance. |
Logger |
ILoggerFactory.getLogger(String name)
Return an appropriate
Logger instance as specified by the
name parameter. |
static Logger |
LoggerFactory.getLogger(String name)
Return a logger named according to the name parameter using the
statically bound
ILoggerFactory instance. |
Modifier and Type | Method and Description |
---|---|
protected Logger |
SLF4JBridgeHandler.getSLF4JLogger(LogRecord record)
Return the Logger instance that will be used for logging.
|
Modifier and Type | Method and Description |
---|---|
protected void |
SLF4JBridgeHandler.callPlainSLF4JLogger(Logger slf4jLogger,
LogRecord record) |
Modifier and Type | Class and Description |
---|---|
class |
LocLogger
A logger specialized in localized logging.
|
Constructor and Description |
---|
LocLogger(Logger logger,
ch.qos.cal10n.IMessageConveyor imc) |
Modifier and Type | Class and Description |
---|---|
class |
EventRecordingLogger
This class is used to record events during the initialization phase of the
underlying logging framework.
|
Constructor and Description |
---|
DefaultLoggingEvent(Level level,
Logger logger) |
Modifier and Type | Class and Description |
---|---|
class |
LoggerWrapper
A helper class wrapping an
Logger instance preserving
location information if the wrapped instance supports it. |
class |
XLogger
A utility that provides standard mechanisms for logging certain kinds of
activities.
|
Modifier and Type | Field and Description |
---|---|
protected Logger |
LoggerWrapper.logger |
Constructor and Description |
---|
LoggerWrapper(Logger logger,
String fqcn) |
XLogger(Logger logger)
Given an underlying logger, construct an XLogger
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractLogger
An abstract implementation which delegates actual logging work to the
AbstractLogger.handleNormalizedLoggingCall(Level, Marker, String, Object[], Throwable) method. |
class |
LegacyAbstractLogger
Provides minimal default implementations for
LegacyAbstractLogger.isTraceEnabled(Marker) , LegacyAbstractLogger.isDebugEnabled(Marker) and other similar methods. |
class |
MarkerIgnoringBase
Deprecated.
|
class |
NOPLogger
A direct NOP (no operation) implementation of
Logger . |
class |
SubstituteLogger
A logger implementation which logs via a delegate logger.
|
Modifier and Type | Method and Description |
---|---|
Logger |
SubstituteLogger.delegate()
Return the delegate logger instance if set.
|
Logger |
NOPLoggerFactory.getLogger(String name) |
Logger |
SubstituteLoggerFactory.getLogger(String name) |
Modifier and Type | Method and Description |
---|---|
void |
SubstituteLogger.setDelegate(Logger delegate)
Typically called after the
LoggerFactory initialization phase is completed. |
Modifier and Type | Class and Description |
---|---|
class |
JDK14LoggerAdapter
A wrapper over
java.util.logging.Logger in
conformity with the Logger interface. |
Modifier and Type | Method and Description |
---|---|
Logger |
JDK14LoggerFactory.getLogger(String name) |
Modifier and Type | Method and Description |
---|---|
Logger |
Profiler.getLogger() |
Modifier and Type | Method and Description |
---|---|
void |
Profiler.setLogger(Logger logger) |
Modifier and Type | Class and Description |
---|---|
class |
Reload4jLoggerAdapter
A wrapper over
org.apache.log4j.Logger
conforming to the Logger interface. |
Modifier and Type | Method and Description |
---|---|
Logger |
Reload4jLoggerFactory.getLogger(String name) |
Modifier and Type | Class and Description |
---|---|
class |
SimpleLogger
Simple implementation of
Logger that sends all enabled log messages,
for all defined loggers, to the console (System.err ). |
Modifier and Type | Method and Description |
---|---|
Logger |
SimpleLoggerFactory.getLogger(String name)
Return an appropriate
SimpleLogger instance by name. |
Modifier and Type | Interface and Description |
---|---|
interface |
LocationAwareLogger
An optional interface helping integration with logging systems capable of
extracting location information.
|
Modifier and Type | Field and Description |
---|---|
protected Logger |
DefaultLoggingEventBuilder.logger |
Constructor and Description |
---|
DefaultLoggingEventBuilder(Logger logger,
Level level) |
Copyright © 2005–2022 QOS.ch. All rights reserved.