Magento 2 custom logger 'Missing required argument $name'
I have encountered this problem as you had. The problem is the new configuration:
<argument name="name" xsi:type="string">MageNinjaApiLogger</argument>
in etc/di.xml
is not updated.
Run php bin/magento cache:flush
to update di.xml
=> It will solve this problem.