Sha256: 35d773d43de5e930abbb0b3e0a6534bf3c6772f0d2636733704f394638fa1975
Contents?: true
Size: 1017 Bytes
Versions: 1
Compression:
Stored size: 1017 Bytes
Contents
# LogfmtMarshalling [![Build Status](https://travis-ci.org/MitinPavel/logfmt_marshalling.svg?branch=master)](https://travis-ci.org/MitinPavel/logfmt_marshalling) A Ruby gem for emitting [logfmt logging format](https://brandur.org/logfmt). logfmt (as a key-value logging format) is one flavor of [structured logging](http://gregoryszorc.com/blog/category/logging/). ## Installation Add this line to your application's Gemfile: gem 'logfmt_marshalling' And then execute: $ bundle Or install it yourself as: $ gem install logfmt_marshalling ## Usage ``` > require 'logfmt_marshalling' => true > LogfmtMarshalling.marshal method: 'get', path: '/', status: 200 => "method=get path=/ status=200" ``` ## Contributing 1. Fork it ( https://github.com/MitinPavel/logfmt_marshalling/fork ) 2. Create your feature branch (`git checkout -b my-new-feature`) 3. Commit your changes (`git commit -am 'Add some feature'`) 4. Push to the branch (`git push origin my-new-feature`) 5. Create a new Pull Request
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
logfmt_marshalling-0.0.2 | README.md |