implementing logger in rails code example Example: rails logger stdout Rails.logger = Logger.new(STDOUT)