Pretty Logger is a logging framework which can be checked from its page, and also you can also debug easily with highlight method.
visit http://your-webpage/rails-pretty-logger/dashboards/ then choose your environment, which you want to check and also you can set date range for narrowing down your logs.
PrettyLogger.highlight("lorem ipsum")
Add this line to your application's Gemfile:
gem 'rails-pretty-logger'
And then execute:
$ bundle
Or install it yourself as:
$ gem install rails-pretty-logger
Mount the engine in your config/routes.rb:
mount Rails::Pretty::Logger::Engine => "/rails-pretty-logger"
- Fork the official repository.
- Create a topic branch.
- Implement your feature or bug fix.
- Add, commit, and push your changes.
- Submit a pull request.
The gem is available as open source under the terms of the MIT License.