Smile-SA/elasticsuite

View on GitHub
src/module-elasticsuite-thesaurus/etc/logging.xml

Summary

Maintainability
Test Coverage
<?xml version="1.0"?>
<!--
/**
 * Smile_ElasticsuiteThesaurus admin action logger configuration.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade Smile ElasticSuite to newer
 * versions in the future.
 *
 * @category  Smile
 * @package   Smile\ElasticsuiteThesaurus
 * @author    Vadym Honcharuk <vahonc@smile.fr>
 * @copyright 2022 Smile
 * @license   Open Software License ("OSL") v. 3.0
 */
 -->
<logging xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Logging:etc/logging.xsd">
    <groups>
        <group name="elasticsuite_thesaurus">
            <label translate="true">Manage Elasticsuite Thesaurus</label>
            <expected_models>
                <expected_model class="Smile\ElasticsuiteThesaurus\Model\Thesaurus" />
            </expected_models>
            <events>
                <event controller_action="smile_elasticsuite_thesaurus_thesaurus_edit" action_alias="view" />
                <event controller_action="smile_elasticsuite_thesaurus_thesaurus_delete" action_alias="delete" />
                <event controller_action="smile_elasticsuite_thesaurus_thesaurus_massDelete" action_alias="massDelete" />
                <event controller_action="smile_elasticsuite_thesaurus_thesaurus_save" action_alias="save" />
            </events>
        </group>
    </groups>
</logging>