Notice: You are browsing the documentation for PrestaShop 9, which is currently in development.

You might want to read the documentation for the current version, PrestaShop 8. Read the current version of this page


ChoiceType of PrestaShopLogger Log levels

Type options

Option Type Default value Description

Code example

$builder->add('logs_by_email', LogSeverityChoiceType::class, [
    'placeholder' => $this->trans(
    'label' => $this->trans(
        'Minimum severity level',
    'help' => $this->trans(
        'Click on "None" to disable log alerts by email or enter the recipients of these emails in the following field.',

Preview example

LogSeverityChoiceType rendered in form example