module Pundit::Logger::LogUnauthorizedPolicies
If Pundit
authorization fails, the policy name and associated information is logged to the configured logger.
Intended for mixing into Rails controllers
Functionality controlled by Pundit::Logger.log_unauthorized_policies; disable by setting that to false.