eAccelerator doesn't like anonymous functions.

- Change to private instance method for error handler.

Got this error when using Monolog with eAccelerator:
````Fatal error: Invalid opcode 153/1/8. in /vendor/composer/monolog/monolog/src/Monolog/Handler/StreamHandler.php on line 64````

This fixes it.