Skip to content

Commit 1824b57

Browse files
committed
convention
1 parent 49507f2 commit 1824b57

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

middleware.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const BuffLog = require('@bufferapp/bufflog');
1+
const bufflog = require('@bufferapp/bufflog');
22
const onFinished = require('on-finished');
33
const { getRequestDataToLog } = require('./lib/utils');
44

@@ -47,9 +47,9 @@ module.exports = function middleware(options) {
4747
};
4848

4949
if (response.error) {
50-
BuffLog.error(msg, info);
50+
bufflog.error(msg, info);
5151
} else {
52-
BuffLog.info(msg, info);
52+
bufflog.info(msg, info);
5353
}
5454
});
5555

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@bufferapp/logger",
3-
"version": "1.0.1",
3+
"version": "1.0.2",
44
"description": "Logging for Buffer.com's node applications",
55
"main": "logger.js",
66
"scripts": {

0 commit comments

Comments
 (0)