README
jilo
An API for sending logs to jilo server
How to use
var jilo = require('jilo');
var connectOptions = {
host: "jilo.io",
port: 8181,
path: "/log"
}
var client = jilo(connectOptions);
client.log({
data: {
somelog: "error"
},
host: "my server", // Defaults to hostname
level: "critical"
})