public marks

PUBLIC MARKS from srcmax with tags email & log

30 March 2016 14:15

How to Configure Monolog to Email Errors (The Symfony CookBook)

The mail handler is a fingers_crossed handler which means that it is only triggered when the action level, in this case critical is reached. The critical level is only triggered for 5xx HTTP code errors. If this level is reached once, the fingers_crossed handler will log all messages regardless of their level. The handler setting means that the output is then passed onto the buffered handler.