public static boolean isEnabled (@Nonnull final Logger aLogger, @Nonnull final IHasErrorLevel aErrorLevelProvider)
  {
    return isEnabled (aLogger, aErrorLevelProvider.getErrorLevel ());
  }
public static boolean isEnabled ( @ Nonnull final Logger aLogger , @ Nonnull final IHasErrorLevel aErrorLevelProvider ) { return isEnabled ( aLogger , aErrorLevelProvider . getErrorLevel ( ) ) ; }
Check if logging is enabled for the passed logger based on the error level
provider by the passed object

@param aLogger
The logger. 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