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.
Written by lazybios
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Rails
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#