PHP Classes
elePHPant
Icontem

File: Resources/config/services.yml

Recommend this page to a friend!
  Classes of Roni  >  Easy PHP Audit Log Bundle  >  Resources/config/services.yml  >  Download  
File: Resources/config/services.yml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Easy PHP Audit Log Bundle
Log specific events according to configuration
Author: By
Last change:
Date: 1 year ago
Size: 973 bytes
 

 

Contents

Class file image Download
services:

  xiidea.easy_audit.logger_factory:
          class: Xiidea\EasyAuditBundle\Logger\LoggerFactory
          public: false
          arguments : [ '%xiidea.easy_audit.logger_channel%' ]
          calls:
              - [ setContainer,[ '@service_container' ] ]

  xiidea.easy_audit.event_resolver_factory:
          class: Xiidea\EasyAuditBundle\Resolver\EventResolverFactory
          public: false
          calls:
              - [ setContainer,[ '@service_container' ] ]

  xiidea.easy_audit.event_listener:
          class: Xiidea\EasyAuditBundle\Listener\LogEventsListener
          arguments: ['@xiidea.easy_audit.logger_factory', '@xiidea.easy_audit.event_resolver_factory']

  xiidea.easy_audit.mono_logger.service:
          class: Xiidea\EasyAuditBundle\Logger\MonologLogger
          arguments: ['@logger']
          public: false,
          tags:
             - { name: easy_audit.logger }
             - { name: monolog.logger, channel: easy_audit }