zendframework/zf2 — pull request #2724 by stefankleff (2012-10-10 09:10:16+00:00)
Title: Feature/logger factory

Added the ability to pass an options array to Logger, Writer, Formatter and Filter.
Therefore it's possible to use config files to configure a logger in a factory like in ZF1.

Example:
```php
$options = array('writers' => array(
array(
'name' => 'stream',
'stream' => 'php://output'
),
array(
'name => 'stream',
'stream' => 'application.log',
'filters' => array(
array('name' => 'priority',
'options => array(
'priority' => Logger::WAR)
),

```

No BC breaks, but I have to trigger an error instead of throwing an exception in AbstractWriter.php to keep the expected test values consistent. This should be changed but will be a (very minor) BC break.