View Javadoc
1   package org.slf4j.helpers;
2   
3   import org.slf4j.Marker;
4   
5   /**
6    * Provides minimal default implementations for {@link #isTraceEnabled(Marker)}, {@link #isDebugEnabled(Marker)} and other similar methods.
7    * 
8    * @since 2.0
9    */
10  abstract public class LegacyAbstractLogger extends AbstractLogger {
11  
12      private static final long serialVersionUID = -7041884104854048950L;
13  
14      @Override
15      public boolean isTraceEnabled(Marker marker) {
16          return isTraceEnabled();
17      }
18  
19      @Override
20      public boolean isDebugEnabled(Marker marker) {
21          return isDebugEnabled();
22      }
23  
24      @Override
25      public boolean isInfoEnabled(Marker marker) {
26          return isInfoEnabled();
27      }
28  
29      @Override
30      public boolean isWarnEnabled(Marker marker) {
31          return isWarnEnabled();
32      }
33  
34      @Override
35      public boolean isErrorEnabled(Marker marker) {
36          return isErrorEnabled();
37      }
38  
39  }