PHP Class Contao\CoreBundle\Monolog\ContaoTableHandler

Inheritance: extends Monolog\Handler\AbstractProcessingHandler, use trait Symfony\Component\DependencyInjection\ContainerAwareTrait
Afficher le fichier Open project: contao/core-bundle Class Usage Examples

Méthodes publiques

Méthode Description
getDbalServiceName ( ) : string Returns the service name for the database connection.
handle ( array $record )
setDbalServiceName ( string $name ) Sets the service name for the database connection.

Méthodes protégées

Méthode Description
getDefaultFormatter ( )
write ( array $record )

Private Methods

Méthode Description
createStatement ( ) Verifies the database connection and prepares the statement.
executeHook ( string $message, ContaoContext $context ) Executes the legacy hook if the Contao framework is booted.

Method Details

getDbalServiceName() public méthode

Returns the service name for the database connection.
public getDbalServiceName ( ) : string
Résultat string

getDefaultFormatter() protected méthode

protected getDefaultFormatter ( )

handle() public méthode

public handle ( array $record )
$record array

setDbalServiceName() public méthode

Sets the service name for the database connection.
public setDbalServiceName ( string $name )
$name string

write() protected méthode

protected write ( array $record )
$record array