Skip to content

Commit

Permalink
Merge pull request #6 from t0shiii/develop
Browse files Browse the repository at this point in the history
Logging Updates
  • Loading branch information
t0shiii authored Jan 4, 2021
2 parents 3589692 + f76e9ff commit 9f68510
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ const steam = require('steam'),
queue = require('./queue')

const logger = winston.createLogger({
level: 'info',
level: 'debug',
format: winston.format.json(),
defaultMeta: {
service: 'user-service'
service: 'dota2-bot'
},
transports: [
new winston.transports.File({
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "node-dota2-bot",
"version": "1.0.0",
"version": "1.0.1",
"description": "A wrapper around the dota2 library forked from Crazy-Duck's original bot.",
"main": "index.js",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions queue.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
const winston = require('winston')

const logger = winston.createLogger({
level: 'info',
level: 'debug',
format: winston.format.json(),
defaultMeta: {
service: 'user-service'
service: 'queue'
},
transports: [
new winston.transports.File({
Expand Down

0 comments on commit 9f68510

Please sign in to comment.