https://github.com/zimbatm/lines-ruby
Lines - structured logs for humans - ruby edition
https://github.com/zimbatm/lines-ruby
Last synced: about 1 year ago
JSON representation
Lines - structured logs for humans - ruby edition
- Host: GitHub
- URL: https://github.com/zimbatm/lines-ruby
- Owner: zimbatm
- License: mit
- Created: 2013-03-19T11:42:24.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T17:58:08.000Z (over 2 years ago)
- Last Synced: 2025-04-15T08:09:31.736Z (about 1 year ago)
- Language: Ruby
- Homepage:
- Size: 87.9 KB
- Stars: 13
- Watchers: 4
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
Awesome Lists containing this project
README
Lines - structured logs for humans
==================================
[](https://travis-ci.org/zimbatm/lines-ruby)
A ruby implementation of the
[lines](https://github.com/zimbatm/lines) format.
STATUS: WORK IN PROGRESS
========================
Example
-------
```ruby
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.