Lines - structured logs for humans

Build
Status

A ruby implementation of the lines format.

STATUS: WORK IN PROGRESS

Example

require 'lines'

Lines.dump(foo: 3) #=> "foo=3"

Lines.load("foo=3") #=> {"foo"=>3}

Uses

CLI pipes format

Structued logging

Generator TODO

Add a max_length option

Make sure the output is encoded as a UTF-8 string

Parser TODO

Implement the max_nesting option

Different parsing modes. Strict and non-strict. Type templates.

Multi-line parsing.