[MonologBundle] added configuration info
This commit is contained in:
parent
97579587c1
commit
2f8ad93db8
@ -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()
|
||||
;
|
||||
|
Reference in New Issue
Block a user