PHP Class Contao\CoreBundle\Monolog\ContaoTableHandler

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

Public Methods

Method 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.

Protected Methods

Method Description
getDefaultFormatter ( )
write ( array $record )

Private Methods

Method 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 method

Returns the service name for the database connection.
public getDbalServiceName ( ) : string
return string

getDefaultFormatter() protected method

protected getDefaultFormatter ( )

handle() public method

public handle ( array $record )
$record array

setDbalServiceName() public method

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

write() protected method

protected write ( array $record )
$record array