simbi
v1.0.0
Published
An express middleware which logs request and response to loggly
Downloads
16
Maintainers
Readme
Simbi
Simbi is an express middleware for sending request object and response objects to loggly.
Features
- Simbi can be used outside of the request handler function
- Simbi middleware can help automatically send request and response object to loggly
Installatin
npm install simbi --save
Usage
var Simbi = require('simbi');
var express = require('express');
var app = express();
var options = {
name: "myapp",
loggly: {
token: "",
subdomain: ""
}
};
var simbi = new Simbi(options);
app.use(simbi.middleware());