Fixed DoctrineServiceProvider when no logger
bug #1014 Fixed DoctrineServiceProvider when no logger (florianv)

This PR was merged into the 2.0.x-dev branch.

Discussion
----------

Fixed DoctrineServiceProvider when no logger

When the provider is used with `Pimple` alone, it throws an exception if the `logger` is not defined.

It was previously working, but it seems to be introduced in https://github.com/silexphp/Silex/commit/784a24665de285cb8c31db2c12c4785eb5605773.

Commits
-------

d89029c Fixed DoctrineServiceProvider when no logger