We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent adb5bd0 commit ab4c2c7Copy full SHA for ab4c2c7
tasks/log.js
@@ -6,7 +6,7 @@ function LogActivity(node) {
6
var worksmith = this;
7
return function (context) {
8
return function(message, level, done) {
9
- level = level || (worksmith.hasLogLevel("log") ? "log" : "info")
+ level = level || (worksmith.hasLogLevel("info") ? "info" : "log")
10
if (!worksmith.hasLogLevel(level)) return done(new Error("The configured logger has no method " + level))
11
worksmith.log(level, message || "Log activity")
12
done()
0 commit comments