001package org.slf4j.helpers;
002
003import org.slf4j.Marker;
004
005/**
006 * Provides minimal default implementations for {@link #isTraceEnabled(Marker)}, {@link #isDebugEnabled(Marker)} and other similar methods.
007 * 
008 * @since 2.0
009 */
010abstract public class LegacyAbstractLogger extends AbstractLogger {
011
012    private static final long serialVersionUID = -7041884104854048950L;
013
014    @Override
015    public boolean isTraceEnabled(Marker marker) {
016        return isTraceEnabled();
017    }
018
019    @Override
020    public boolean isDebugEnabled(Marker marker) {
021        return isDebugEnabled();
022    }
023
024    @Override
025    public boolean isInfoEnabled(Marker marker) {
026        return isInfoEnabled();
027    }
028
029    @Override
030    public boolean isWarnEnabled(Marker marker) {
031        return isWarnEnabled();
032    }
033
034    @Override
035    public boolean isErrorEnabled(Marker marker) {
036        return isErrorEnabled();
037    }
038
039}