0.0.6 • Published 4 years ago

@shoppredigital/omnilog v0.0.6

Weekly downloads
1
License
ISC
Repository
github
Last release
4 years ago

OmniLog

Installation:

npm i @shoppredigital/omnilog --save

Usage:

const omnilog = require('@shoppredigital/omnilog');

const express = require('express'),
    bodyParser = require('body-parser');

const app = express();

app.use(bodyParser.urlencoded({ extended: true }));

app.use(bodyParser.json());

omnilog.init(app, { OMNILOG_DSN: 'http://localhost:8800/projectname', logger: console | winstonLogger })