refactor: remove builder class and use concrete class

tests: added more unit tests for event processor
This commit is contained in:
2018-10-27 01:19:34 -05:00
parent f239099d55
commit 5201db7d22
15 changed files with 834 additions and 166 deletions

10
config/debug.yml Normal file
View File

@@ -0,0 +1,10 @@
monolog:
handlers:
buffered:
type: buffer
handler: easylog
channels: ["!event"]
level: debug
easylog:
type: service
id: easycorp.easylog.handler

6
config/main.yml Normal file
View File

@@ -0,0 +1,6 @@
services:
easycorp.easylog.handler:
class: EasyCorp\EasyLog\EasyLogHandler
public: false
arguments:
- '%kernel.logs_dir%/%kernel.environment%.log'