Allow setting a logger when sending push notifications