RLogger
simple way to create logger with specific name in Ruby On Rails, and it will generate log file under the log
folder
Usage
above code will create log file log/first.log, and return a object that instance of ActiveSupport::Logger
logger = RLogger.make("first_log") # #<ActiveSupport::Logger:0x0000559df31ba5d0 ...>
logger.info "Hello RLogger"
Installation
Add this line to your application's Gemfile:
gem 'r_logger'
And then execute:
$ bundle
Or install it yourself as:
$ gem install r_logger
Contributing
Contribution directions go here.
License
The gem is available as open source under the terms of the MIT License.