Mountable Rails Engine for viewing paginated logs from a browser

1. Installation

Add this line to your application’s Gemfile:

gem 'logs'

And then execute:

$ bundle

2. Mount Engine:

config/routes.rb

Rails.application.routes.draw do
  mount Logs::Engine => '/logs'
end

3. Screenshot

kirillshevch-logs

References

kirillshevch/logs: Mountable Rails Engine for viewing paginated logs from a browser
https://github.com/kirillshevch/logs

打赏

Leave a Reply

Your email address will not be published. Required fields are marked *