Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

config option to disable logging #54

Closed
chrisportela opened this issue Jun 4, 2014 · 2 comments
Closed

config option to disable logging #54

chrisportela opened this issue Jun 4, 2014 · 2 comments

Comments

@chrisportela
Copy link

I am using this in an application that needs to send back json but sometimes the output gets all over the response and the app using the json crashes.

Is there a way to disable to output of the log or redirect it to a file by config option?

@tucoinfo
Copy link

tucoinfo commented Jun 4, 2014

You should implement ApnsPHP_Log_Interface, check the notes.

On 04/06/2014 19:45, Chris Portela wrote:

I am using this in an application that needs to send back json but
sometimes the output gets all over the response and the app using the
json crashes.

Is there a way to disable to output of the log or redirect it to a
file by config option?


Reply to this email directly or view it on GitHub
#54.

@chrisportela
Copy link
Author

Awesome thanks. I'll use $logger->setLogger($log); then

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants