jleclanche/django-push-notifications — pull request #58 by davidals (2014-07-04 01:12:43+00:00)
Title: Add logging capabilities to _apns_send

Sometimes it is useful to know what is the message effectively being sent to APNS for debug purposes.

Adding a logger parameter that takes a regular Django Logger to the _apns_send method of apns.py enables this logging capability.

This change would not affect existing code and devs wanting to get this information could have it by adding the logger parameter to the send_message methods.