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
  • 314,917
  • 42
  • 532
  • 579
abekenza
  • 1,090
  • 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
  • 2,037
  • 2
  • 23
  • 32