[MonologBundle] added configuration info

This commit is contained in:
kbond 2011-06-14 13:19:42 -04:00 committed by Kevin Bond
parent 97579587c1
commit 2f8ad93db8
1 changed files with 20 additions and 0 deletions

View File

@ -107,6 +107,26 @@ class Configuration implements ConfigurationInterface
->ifTrue(function($v) { return isset($v['debug']); })
->thenInvalid('The "debug" name cannot be used as it is reserved for the handler of the profiler')
->end()
->setExample(array(
'syslog' => array(
'type' => 'stream',
'path' => '/var/log/symfony.log',
'level' => 'ERROR',
'bubble' => 'false',
'formatter' => 'my_formatter',
'processors' => array('some_callable')
),
'main' => array(
'type' => 'fingerscrossed',
'action_level' => 'WARNING',
'buffer_size' => 30,
'handler' => 'custom',
),
'custom' => array(
'type' => 'service',
'id' => 'my_handler'
)
))
->end()
->end()
;