Skip to content

Commit

Permalink
Merge pull request #211 from mzgoddard/prefer-console-stderr
Browse files Browse the repository at this point in the history
Prefer logging to debug, warn, and error levels
  • Loading branch information
mzgoddard authored Dec 11, 2017
2 parents be2e514 + b423e7a commit 65028af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,7 @@ HardSourceWebpackPlugin.prototype.apply = function(compiler) {
catch (_) {
mkdirp.sync(cacheAssetDirPath);
if (configHashInDirectory) {
loggerCore.log(
loggerCore.warn(
{
id: 'new-config-hash',
cacheDirPath: cacheDirPath
Expand Down Expand Up @@ -1078,7 +1078,7 @@ HardSourceWebpackPlugin.prototype.apply = function(compiler) {
}
cacheItem.invalid = true;
reject(new Error('dependency has a new identifier'));
loggerCore.info(
loggerCore.debug(
{
id: 'invalid-module--must-update-dependency',
moduleIdentifier: cacheItem.identifier,
Expand Down

0 comments on commit 65028af

Please sign in to comment.