Skip to content

quintsys/trivial_log_formatter

Repository files navigation

Trivial Log Formatter

A trivial Logger::Formatter.

Installation

Add this line to your application's Gemfile:

    gem 'trivial_log_formatter'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install trivial_log_formatter

Usage

Example Rails usage

# in config/application.rb
config.logger = Logger.new(STDOUT)
config.logger.formatter = TrivialLogFormatter::Formatter.new

Contributing

  1. Fork it ( https://github.com/QuintSys/trivial_log_formatter/fork )
  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 a new Pull Request

About

A trivial Logger::Formatter.

Resources

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
LICENSE.txt

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages