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
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
nameFields inherited from interface org.slf4j.Logger
ROOT_LOGGER_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisDebugEnabled(Marker marker) Similar toLogger.isDebugEnabled()method except that the marker data is also taken into account.booleanisErrorEnabled(Marker marker) Similar toLogger.isErrorEnabled()method except that the marker data is also taken into consideration.booleanisInfoEnabled(Marker marker) Similar toLogger.isInfoEnabled()method except that the marker data is also taken into consideration.booleanisTraceEnabled(Marker marker) Similar toLogger.isTraceEnabled()method except that the marker data is also taken into account.booleanisWarnEnabled(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, warnMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:LoggerSimilar 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:LoggerSimilar 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:LoggerSimilar 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:LoggerSimilar 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:LoggerSimilar 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.
-