You could easily create your own logger suitable to your needs. The Change Required to use your Logger is very simple. Just follow the steps:
<?php
//src/Logger/CustomLogger.php
namespace App\Logger;
use Xiidea\EasyAuditBundle\Logger\LoggerInterface;
use Xiidea\EasyAuditBundle\Model\BaseAuditLog as AuditLog;
class CustomLogger implements LoggerInterface
{
public function log(AuditLog $event)
{
//...
}
}
services:
class: App\Logger\CustomLogger
tags:
- { name: easy_audit.logger }