beaver-logger
Advanced tools
Comparing version 1.0.13 to 1.0.15
@@ -13,2 +13,6 @@ | ||
// Supress `console.log`s when `true` | ||
// Recommended for production usage | ||
silent: false, | ||
heartbeat: true, | ||
@@ -25,2 +29,2 @@ heartbeatConsoleLog: true, | ||
logPerformance: true | ||
}; | ||
}; |
@@ -141,3 +141,5 @@ | ||
print(level, event, payload); | ||
if (!config.silent) { | ||
print(level, event, payload); | ||
} | ||
@@ -170,2 +172,2 @@ if (buffer.length === config.sizeLimit) { | ||
extend(tracking, payload || {}, false); | ||
} | ||
} |
{ | ||
"name": "beaver-logger", | ||
"version": "1.0.13", | ||
"version": "1.0.15", | ||
"description": "Client side logger.", | ||
"main": "dist/beaver-logger.js", | ||
"scripts": { | ||
"test": "gulp lint" | ||
"test": "gulp lint && karma start" | ||
}, | ||
@@ -9,0 +9,0 @@ "repository": { |
@@ -34,2 +34,2 @@ | ||
}); | ||
}); | ||
}); |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
267553
2985
1