doctrine/DoctrineORMModule — pull request #129 by Slamdunk (2012-09-27 13:35:02+00:00)
Title: Delegate to ServiceLocator the SqlLogger inizialization instead of config

To directly inject SqlLogger to DBAL config now we have to init the logger inside the config.php
```php
return array(
'doctrine' => array(
'configuration' => array(
'orm_default' => array(
'sql_logger' => new Doctrine\DBAL\Logging\EchoSQLLogger(),
),
),
),
);
```
With this PR we delegate to the service locator the sql logger inizialization, so we can
```php
return array(
'doctrine' => array(
'configuration' => array(
'orm_default' => array(
'sql_logger' => 'my_sql_logger',
),
),
),
'service_manager' => array(
'invokables' => array(
'my_sql_logger' => 'Doctrine\DBAL\Logging\EchoSQLLogger',
),
),
);
```

NOTE: the build will not pass but only for an integration bug with DoctrineModule+ZendFramework -_-