webpack-contrib / install-webpack-plugin

Speed up development by automatically installing & saving dependencies with Webpack.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Prefix for own logging

insin opened this issue · comments

What do you think of prefixing the plugin's own logging with "[NpmInstallPlugin] " or similar so it's clear where it's coming from?

That'd be great. I've personally used debug since it seems ubiquitous.

We could have a default and make it configurable.

From the perspective of integrating NpmInstallPlugin into toolkits, its output logging becomes part of your UI, which is the primary reason for this and a quiet flag.