vuestorefront / storefront-api

Storefront GraphQL API Gateway. Modular architecture. ElasticSearch included. Works great with Magento1, Magento2, Spree, OpenCart, Pimcore and custom backends
https://storefrontapi.com
MIT License
8 stars 1 forks source link

Create global logger based on winston for example available which is available the StorefrontApiContext #22

Closed ResuBaka closed 4 years ago

ResuBaka commented 4 years ago

What is the motivation for adding/enhancing this feature?

Currently on most when not all places we use console.log/error/warn for logging. I would thing that a global logger instance based on like winston or an other logging library would improve the over all logging for development and production.

What are the acceptance criteria

Can you complete this feature request by yourself?

Additional information

pkarw commented 4 years ago

Good idea. I like it