code: public boolean isEnabledFor( final Priority priority )
      {
          if ( priority == null )
          {
              return false;
          }
  
          switch ( priority.level )
          {
              case Level.FATAL_INT:
                  return m_delegate.isFatalEnabled();
              case Level.ERROR_INT:
                  return m_delegate.isErrorEnabled();
              case Level.WARN_INT:
                  return m_delegate.isWarnEnabled();
              case Level.INFO_INT:
                  return m_delegate.isInfoEnabled();
              case Level.DEBUG_INT:
                  return m_delegate.isDebugEnabled();
              case Level.TRACE_INT:
              case Level.ALL_INT:
                  return m_delegate.isTraceEnabled();
              default:
                  return false;
          }
      }
docs: Check whether this category is enabled for a given {@link
  Level} passed as parameter.
  
  See also {@link #isDebugEnabled}.
  
  @return boolean True if this category is enabled for <code>level</code>.