We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49507f2 commit 1824b57Copy full SHA for 1824b57
middleware.js
@@ -1,4 +1,4 @@
1
-const BuffLog = require('@bufferapp/bufflog');
+const bufflog = require('@bufferapp/bufflog');
2
const onFinished = require('on-finished');
3
const { getRequestDataToLog } = require('./lib/utils');
4
@@ -47,9 +47,9 @@ module.exports = function middleware(options) {
47
};
48
49
if (response.error) {
50
- BuffLog.error(msg, info);
+ bufflog.error(msg, info);
51
} else {
52
- BuffLog.info(msg, info);
+ bufflog.info(msg, info);
53
}
54
});
55
package.json
@@ -1,6 +1,6 @@
{
"name": "@bufferapp/logger",
- "version": "1.0.1",
+ "version": "1.0.2",
"description": "Logging for Buffer.com's node applications",
5
"main": "logger.js",
6
"scripts": {
0 commit comments