Keeping upgradability in mind, how do you make MyCompanyMyModuleLogger the default implementation of the LoggerInterface globally?
You are implementing a custom module MyModule, which provides an implementation of PsrLogLoggerInterface called MyCompanyMyModuleLogger.
The LoggerInterface has the default preference declared in app/etc/di.xml.
Keeping upgradability in mind, how do you make MyCompanyMyModuleLogger the default implementation of the LoggerInterface globally?
A . Declare a new preference for the LoggerInterface in app/code/myCompany/MyModule/etc/frontend/di.xml
B . Declare a new preference for the LoggerInterface in MyCompany/MyModule/etc/di.xml
C . Overwrite the existing preference for the LoggerInterface in app/etc/di.xml
D . Declare a new preference for the LoggerInterface in app/code/MyCompany/MyModule/etc/global/di.xml
Answer: B
Latest AD0-E709 Dumps Valid Version with 135 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund