Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to disable log statements in QuickBlox?

Tags:

quickblox

Quickblox often logs stuff like:

Performing async request: 
RestRequest:
------
POST http://api.quickblox.com/session.xml
headers:{
    "QB-SDK" = "iOS 1.5.2";
    "QuickBlox-REST-API-Version" = "0.1.1";
}

But sometimes I want to disable QB logs to see the logs produced by my code more clearly. Is there any way to do that?

like image 806
Sergey Avatar asked Jun 30 '13 10:06

Sergey


1 Answers

[QBSettings setLogLevel:QBLogLevelNothing];
like image 197
Rubycon Avatar answered Sep 25 '22 06:09

Rubycon