jilo

jilo agent and cli

Usage no npm install needed!

<script type="module">
  import jilo from 'https://cdn.skypack.dev/jilo';
</script>

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" 
})

Log options

See json options at jilo server