Package org.slf4j.helpers
Class LegacyAbstractLogger
java.lang.Object
org.slf4j.helpers.AbstractLogger
org.slf4j.helpers.LegacyAbstractLogger
- All Implemented Interfaces:
Serializable
,Logger
- Direct Known Subclasses:
EventRecordingLogger
,JDK14LoggerAdapter
,Reload4jLoggerAdapter
,SimpleLogger
Provides minimal default implementations for
isTraceEnabled(Marker)
, isDebugEnabled(Marker)
and other similar methods.- Since:
- 2.0
- See Also:
-
Field Summary
Fields inherited from class org.slf4j.helpers.AbstractLogger
name
Fields inherited from interface org.slf4j.Logger
ROOT_LOGGER_NAME
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isDebugEnabled
(Marker marker) Similar toLogger.isDebugEnabled()
method except that the marker data is also taken into account.boolean
isErrorEnabled
(Marker marker) Similar toLogger.isErrorEnabled()
method except that the marker data is also taken into consideration.boolean
isInfoEnabled
(Marker marker) Similar toLogger.isInfoEnabled()
method except that the marker data is also taken into consideration.boolean
isTraceEnabled
(Marker marker) Similar toLogger.isTraceEnabled()
method except that the marker data is also taken into account.boolean
isWarnEnabled
(Marker marker) Similar toLogger.isWarnEnabled()
method except that the marker data is also taken into consideration.Methods inherited from class org.slf4j.helpers.AbstractLogger
debug, debug, debug, debug, debug, debug, debug, debug, debug, debug, error, error, error, error, error, error, error, error, error, error, getFullyQualifiedCallerName, getName, handleNormalizedLoggingCall, info, info, info, info, info, info, info, info, info, info, readResolve, trace, trace, trace, trace, trace, trace, trace, trace, trace, trace, warn, warn, warn, warn, warn, warn, warn, warn, warn, warn
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.slf4j.Logger
atDebug, atError, atInfo, atLevel, atTrace, atWarn, isDebugEnabled, isEnabledForLevel, isErrorEnabled, isInfoEnabled, isTraceEnabled, isWarnEnabled, makeLoggingEventBuilder
-
Constructor Details
-
LegacyAbstractLogger
public LegacyAbstractLogger()
-
-
Method Details
-
isTraceEnabled
Description copied from interface:Logger
Similar toLogger.isTraceEnabled()
method except that the marker data is also taken into account.- Parameters:
marker
- The marker data to take into consideration- Returns:
- True if this Logger is enabled for the TRACE level, false otherwise.
-
isDebugEnabled
Description copied from interface:Logger
Similar toLogger.isDebugEnabled()
method except that the marker data is also taken into account.- Parameters:
marker
- The marker data to take into consideration- Returns:
- True if this Logger is enabled for the DEBUG level, false otherwise.
-
isInfoEnabled
Description copied from interface:Logger
Similar toLogger.isInfoEnabled()
method except that the marker data is also taken into consideration.- Parameters:
marker
- The marker data to take into consideration- Returns:
- true if this Logger is enabled for the INFO level, false otherwise.
-
isWarnEnabled
Description copied from interface:Logger
Similar toLogger.isWarnEnabled()
method except that the marker data is also taken into consideration.- Parameters:
marker
- The marker data to take into consideration- Returns:
- True if this Logger is enabled for the WARN level, false otherwise.
-
isErrorEnabled
Description copied from interface:Logger
Similar toLogger.isErrorEnabled()
method except that the marker data is also taken into consideration.- Parameters:
marker
- The marker data to take into consideration- Returns:
- True if this Logger is enabled for the ERROR level, false otherwise.
-