Post

taskでカスタムのloggerで出力したい

@logger = ActiveSupport::Logger.new(STDOUT) @logger.formatter = ::Logger::Formatter.new
[Railsのログについて(Rails.logger) 酒と涙とRubyとRailsと](https://morizyun.github.io/ruby/rails-function-rails-logger.html)
This post is licensed under CC BY 4.0 by the author.