A custom module needs to log all calls of \Magento\Customer\Api\AddressRepositoryInterface::save(). Which mechanism do you use?

91.A custom module needs to log all calls of
\Magento\Customer\Api\AddressRepositoryInterface::save(). Which mechanism do you use?


A.An observer on the customer_address_repository_save event, which is
automatically fired for every repository save
B. A proxy configured to intercept all calls to any public method and log them
C. An extension attribute configured in the extension_attributes.xml
D. A plugin declared for the save() method

Correct Answer: A

No comments