imports:
- { resource: common/framework.yml }
- { resource: common/security.yml }
xiidea_easy_audit:
entity_class : Xiidea\EasyAuditBundle\Tests\Functional\Bundle\TestBundle\Entity\AuditLog
user_property : username
doctrine_entities : false
default_logger : false
events : #Optional
- simple.event
- simple.event2
logger_channel:
xiidea.easy_audit.logger.service: ["!emergency"]
xiidea.easy_audit.logger.service2: ["emergency"]
services:
xiidea.easy_audit.logger.service:
class: Xiidea\EasyAuditBundle\Tests\Functional\Bundle\TestBundle\Logger\FileLogger
arguments: ["%kernel.cache_dir%"]
tags:
- { name: easy_audit.logger }
xiidea.easy_audit.logger.service2:
class: Xiidea\EasyAuditBundle\Tests\Functional\Bundle\TestBundle\Logger\FileLogger
arguments: ["%kernel.cache_dir%2"]
tags:
- { name: easy_audit.logger }
|