Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to enable logging everyting in Facebook iOS SDK for debugging purposes?

I'm trying to debug my iOS app that integrates with Facebook iOS SDK 4.1. I would like to see a verbose log of Facebook's code. Is there a way to do that? Right now I don't see any log from Facebook. Thanks!

like image 221
user2732722 Avatar asked May 05 '15 06:05

user2732722


1 Answers

As stated in the documentation, you can enable debug logs by invoking the following method:

[FBSDKSettings enableLoggingBehavior:FBSDKLoggingBehaviorAppEvents];
like image 76
JAM Avatar answered Oct 01 '22 04:10

JAM



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!