Rack::LTSVLogger
LTSV logger for Rack applications implemented as middleware
Installation
Add this line to your application's Gemfile:
gem 'rack-ltsvlogger', require: "rack/ltsvlogger"
And then execute:
$ bundle
Or install it yourself as:
$ gem install rack-ltsvlogger
Usage
require "rack/ltsvlogger"
class SampleApp
def call(env)
[200, {"Content-Type" => "text/html"}, ["Hello"]]
end
end
use Rack::LTSVLogger
run SampleApp.new
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request