Closed GoogleCodeExporter closed 9 years ago
Hi.
You have to create a new class that implements ApnsPHP_Log_Interface Interface
and then call $push->setLogger(your class instance).
In your class, log method you can explode message at the semicolon and then
only if first part is WARNING or ERROR do an echo/printf.
This is not "a software" but a library that you can use as you want: you can
use the APIs to manage the library (please, read APIs docs).
Original comment by aldo.arm...@gmail.com
on 30 Dec 2010 at 7:42
This is a very old thread but if anyone runs into this in the future and does
not want to implement their own Log_Interface the printf() in \Log\Embedded.php
just needs to be commented out or replaced with your own preferred logging
method.
Original comment by files...@gmail.com
on 2 Jul 2014 at 9:13
Original issue reported on code.google.com by
kuk...@gmail.com
on 30 Dec 2010 at 7:32