blocknotes / compact_log_formatter

A Compact Log Formatter for Rails

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CompactLogFormatter Gem Version

A Compact Log Formatter for Rails.

Usage

  • Add to Gemfile (and execute bundle):
gem 'compact_log_formatter'
  • Add to application.rb or to config/environments/some_env.rb:
Rails.logger = Logger.new("log/#{Rails.env}.log")
Rails.logger.formatter = CompactLogFormatter::Formatter.new

Screenshot

screenshot

Do you like it? Star it!

If you use this component just star it. A developer is more motivated to improve a project when there is some interest.

Contributors

License

The gem is available as open source under the terms of the MIT License.

About

A Compact Log Formatter for Rails

License:MIT License


Languages

Language:Ruby 100.0%