vuestorefront / storefront-api

Storefront GraphQL API Gateway. Modular architecture. ElasticSearch included. Works great with Magento1, Magento2, Spree, OpenCart, Pimcore and custom backends

Home Page:https://storefrontapi.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

ResuBaka opened this issue · comments

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

  • Global logger instance
  • Log Level configurable in the config file and via environment variable

Can you complete this feature request by yourself?

  • YES
  • NO

Additional information

Good idea. I like it