itslog/readme.md

35 lines
821 B
Markdown
Raw Permalink Normal View History

2013-12-21 00:32:35 -08:00
itslog
======
2013-12-21 00:44:45 -08:00
`itslog` is a simple logging system. You can send it a payload that looks like
this:
{
"level" : 1,
"namespace": "ren.stimpy",
"payload": {
"type": "arbitrary object",
"wait, any type?": [
"I am",
"very serious"
],
"pi": 3.142
2013-12-21 00:44:45 -08:00
}
}
and `itslog` will gracefully shove it into a postgres database for future
retrieval. It is literally the simplest program of this variety one could
possibly imagine.
Simply provide it with a `level`, a `namespace`, and a `payload`, and `itslog`
will do the rest. Please note that `payload` can be any valid json object.
2013-12-21 00:44:45 -08:00
future work
-----------
implement a (very simple) query api, supporting filtering based on:
- log level
- namespace
- date range