Use external Zend Logger to log errors and exceptions 

Using an external Zend\Log\Logger is useful to log to different locations like a database for example.