Skip to content
This repository has been archived by the owner on Oct 15, 2018. It is now read-only.

tnakamura/rack-ltsvlogger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

  1. Fork it
  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 new Pull Request

About

LTSV logger for Rack applications implemented as middleware

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages