PHP Class Symfony\Bundle\MonologBundle\DependencyInjection\MonologExtension

Author: Jordi Boggiano ([email protected])
Author: Christophe Coevoet ([email protected])
Inheritance: extends Symfony\Component\HttpKernel\DependencyInjection\Extension
Exibir arquivo Open project: symfony/monolog-bundle Class Usage Examples

Public Methods

Method Description
getNamespace ( )
getXsdValidationBasePath ( ) : string Returns the base path for the XSD files.
load ( array $configs, ContainerBuilder $container ) Loads the Monolog configuration.

Private Methods

Method Description
buildHandler ( ContainerBuilder $container, $name, array $handler )
getHandlerClassByType ( $handlerType )
getHandlerId ( $name )
levelToMonologConst ( $level )
markNestedHandler ( $nestedHandlerId )

Method Details

getNamespace() public method

public getNamespace ( )

getXsdValidationBasePath() public method

Returns the base path for the XSD files.
public getXsdValidationBasePath ( ) : string
return string The XSD base path

load() public method

Loads the Monolog configuration.
public load ( array $configs, ContainerBuilder $container )
$configs array An array of configuration settings
$container Symfony\Component\DependencyInjection\ContainerBuilder A ContainerBuilder instance