0.1.3 • Published 7 years ago

winston-influx v0.1.3

Weekly downloads
8
License
MIT
Repository
github
Last release
7 years ago

Winston-Influx

Simple InfluxDB transport for WinstonJS.

Example

const winston = require("winston");
const winstonInflux = require("winston-influx");

const logger = new (winston.Logger)({
    transports: [
        new winstonInflux({
            "host": "localhost",
            "port": 8086,
            "database": "winston",
            "measurement": "log",
            "buffer": true,
            "bufferRecord": 1000,
            "bufferTime": 1000
        })
    ]
});

logger.info("Hello, world!");
0.1.3

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago