Skip to content

Lines - structured logs for humans - ruby edition

License

Notifications You must be signed in to change notification settings

pandastream/lines-ruby

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Lines - structured logs for humans - ruby edition

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 100.0%