Add support to external logger.

Logger must be PSR-3 compliant, it will be used on rules evaluation.