Skip to content

Commit 5bb874d

Browse files
committed
Merge pull request #145 from jrcryer/log-levels
Fixes #141 - make log level verbose for 'Create' logs
2 parents 64ccc43 + 9837e85 commit 5bb874d

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

tasks/concat.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ module.exports = function(grunt) {
114114
grunt.file.write(f.dest, src);
115115

116116
// Print a success message.
117-
grunt.log.writeln('File ' + chalk.cyan(f.dest) + ' created.');
117+
grunt.verbose.write('File ' + chalk.cyan(f.dest) + ' created.');
118118
});
119119
});
120120

tasks/lib/sourcemap.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ exports.init = function(grunt) {
191191
var newSourceMap = generator.toJSON();
192192
// Return a string for inline use or write the map.
193193
if (this.options.sourceMapStyle === 'inline') {
194-
grunt.log.writeln(
194+
grunt.verbose.writeln(
195195
'Source map for ' + chalk.cyan(this.files.dest) + ' inlined.'
196196
);
197197
return JSON.stringify(newSourceMap, null, '');
@@ -200,7 +200,7 @@ exports.init = function(grunt) {
200200
this.dest,
201201
JSON.stringify(newSourceMap, null, '')
202202
);
203-
grunt.log.writeln('Source map ' + chalk.cyan(this.dest) + ' created.');
203+
grunt.verbose.writeln('Source map ' + chalk.cyan(this.dest) + ' created.');
204204

205205
};
206206

0 commit comments

Comments
 (0)