Project

lines

0.01
No release in over 3 years
Low commit activity in last 3 years
A log format that's readable by humans and easily parseable by computers.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

 Project Readme

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.