Hello,
I would like to use a logging handler so that specified users are sent logs by email.
I have read the EspoCRM documentation page on logging (https://docs.espocrm.com/administration/log/), and see that it uses the Monolog library.
Looking in the Monolog documentation (https://github.com/Seldaek/monolog/b...-processors.md), I would like to use one of the mail handlers, e.g. NativeMailerHandler, possibly with a wrapper.
I see that the example in the EspoCRM documentation uses the handler at 'Espo\\Core\\Log\\Handler\\EspoRotatingFileHandler ', rather than using a Monolog handler.
Can you let me know whether and how it is possible to use a Monolog handler?
Thanks!
I would like to use a logging handler so that specified users are sent logs by email.
I have read the EspoCRM documentation page on logging (https://docs.espocrm.com/administration/log/), and see that it uses the Monolog library.
Looking in the Monolog documentation (https://github.com/Seldaek/monolog/b...-processors.md), I would like to use one of the mail handlers, e.g. NativeMailerHandler, possibly with a wrapper.
I see that the example in the EspoCRM documentation uses the handler at 'Espo\\Core\\Log\\Handler\\EspoRotatingFileHandler ', rather than using a Monolog handler.
Can you let me know whether and how it is possible to use a Monolog handler?
Thanks!
Comment