Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
megastef committed Jul 25, 2019
1 parent 15550ed commit a345c95
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Create your free account and access token [here](https://apps.sematext.com/ui/re
var winston = require('winston')
var Logsene = require('winston-logsene')
var logger = winston.createLogger({
levels: winston.config.npm.levels,
transports: [new Logsene({
token: process.env.LOGS_TOKEN,
level: 'debug',
Expand Down Expand Up @@ -46,6 +47,7 @@ const {createLogger, format} = require('winston')
var myServerIp = '10.0.0.12'

var logger = createLogger({
levels: winston.config.npm.levels,
transports: [new Logsene({
// set log level, defaut is 'info'
level: 'debug',
Expand Down

0 comments on commit a345c95

Please sign in to comment.