<?xml version="1.0"?>
<!--
/**
 * Easyship.
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Easyship.com license that is
 * available through the world-wide-web at this URL:
 * https://www.apache.org/licenses/LICENSE-2.0
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade this extension to newer
 * version in the future.
 *
 * @category    Goeasyship
 * @package     Goeasyship_Shipping
 * @copyright   Copyright (c) 2022 Easyship (https://www.easyship.com/)
 * @license     https://www.apache.org/licenses/LICENSE-2.0
 */
-->

<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
    <preference for="Goeasyship\Shipping\Api\RegisterInterface" type="Goeasyship\Shipping\Model\Register"/>
    <preference for="Goeasyship\Shipping\Api\ShipOrderInterface" type="Goeasyship\Shipping\Model\ShipOrder"/>

    <type name="Goeasyship\Shipping\Model\Logger\Handler">
        <arguments>
            <argument name="filesystem" xsi:type="object">Magento\Framework\Filesystem\Driver\File</argument>
        </arguments>
    </type>
    <type name="Goeasyship\Shipping\Model\Logger\Logger">
        <arguments>
            <argument name="name" xsi:type="string">easyshipLogger</argument>
            <argument name="handlers" xsi:type="array">
                <item name="system" xsi:type="object">Goeasyship\Shipping\Model\Logger\Handler</item>
            </argument>
        </arguments>
    </type>

</config>
