Last Updated: June 20, 2017
·
327
· lazybios

Rails log

Rails.logger.tagged("PushJob") do
Rails.logger.info "send to #{tokens.size} devices #{note} status: #{notification.success}"
end

put log in separate file can make debug more easy.