Skip to content

Latest commit

 

History

History
47 lines (28 loc) · 738 Bytes

README.md

File metadata and controls

47 lines (28 loc) · 738 Bytes

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.