PHP Classes

File: Resources/doc/

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



Class file image Download

Logger channel

It is now possible to register logger for specific channel. channel is refers to log level. channel can be inclusive or exclusive. to define exclusive list add ! sign before it. Let assume you have two logger registered. you want xiidea.easy_audit.logger.service service to log only "info" and "debug" level events. Wheres rest of the events you wants to be logged by file.logger service. Then you can configure the logger channel as bellow:


        xiidea.easy_audit.logger.service: ["info", "debug"]
        file.logger: ["!info", "!debug"]


- If no channel configured for a logger service, it will log all event - You can define either inclusive or exclusive list but not both for a logger. file.logger: ["!info", "debug"] is an invalid configuration