Created
September 23, 2016 03:04
-
-
Save nntoan/7dfc3ee0fd8747b797e653f8aeabdd20 to your computer and use it in GitHub Desktop.
Logger - etc\di.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd"> | |
<type name="Vendor\Package\Logger\Handler"> | |
<arguments> | |
<argument name="filesystem" xsi:type="object">Magento\Framework\Filesystem\Driver\File</argument> | |
</arguments> | |
</type> | |
<type name="Vendor\Package\Logger\Logger"> | |
<arguments> | |
<argument name="name" xsi:type="string">vendorLogger</argument> | |
<argument name="handlers" xsi:type="array"> | |
<item name="system" xsi:type="object">Vendor\Package\Logger\Handler</item> | |
</argument> | |
</arguments> | |
</type> | |
</config> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment