0

Given

Question

How to enable logging of SocketRocket?

PS

Using debugger I can see that SRFastLog(@"Connected"); method was called. But nothing is printed in the console

rmaddy
  • 307,833
  • 40
  • 508
  • 550
abekenza
  • 1,080
  • 2
  • 11
  • 19

1 Answers1

2

You can enable log using uncomment SR_DEBUG_LOG_ENABLED preprocessor macro.

See line #15 in SRLog.h file.

NOTE : You can not change dependency source file directly. You have to use either add sub module in your project or you have to fork that particular repo.

Ref : Editing locked files from a CocoaPods framework

Community
  • 1
  • 1
Jayesh Thanki
  • 1,977
  • 2
  • 23
  • 31