code: public static boolean isEnabled (@Nonnull final Class <?> aLoggingClass,
                                     @Nonnull final IHasErrorLevel aErrorLevelProvider)
    {
      return isEnabled (LoggerFactory.getLogger (aLoggingClass), aErrorLevelProvider.getErrorLevel ());
    }
docs: Check if logging is enabled for the passed class based on the error level
  provider by the passed object
  
  @param aLoggingClass
  The class to determine the logger from. May not be <code>null</code>
  .
  @param aErrorLevelProvider
  The error level provider. May not be <code>null</code>.
  @return <code>true</code> if the respective log level is allowed,
  <code>false</code> if not