Skip to content

Commit ab4c2c7

Browse files
committedJul 13, 2015
Giving more priority to logger than console as a default logging engine
1 parent adb5bd0 commit ab4c2c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎tasks/log.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ function LogActivity(node) {
66
var worksmith = this;
77
return function (context) {
88
return function(message, level, done) {
9-
level = level || (worksmith.hasLogLevel("log") ? "log" : "info")
9+
level = level || (worksmith.hasLogLevel("info") ? "info" : "log")
1010
if (!worksmith.hasLogLevel(level)) return done(new Error("The configured logger has no method " + level))
1111
worksmith.log(level, message || "Log activity")
1212
done()

0 commit comments

Comments
 (0)
Please sign in to comment.