DyKnow / SignalR-ObjC

Objective-C Client for the SignalR Project works with iOS and Mac
MIT License
442 stars 213 forks source link

Log level #277

Open juliengdt opened 8 years ago

juliengdt commented 8 years ago

Adding a log level is a must have on a framework which use networking stuff (avoiding basic sniffing/spoofing)

Morover, SignalR-Objc....

9c2229e6-ba0f-4fa2-8c98-b838d40a98ab

Really too damn high ...

Remyoman commented 8 years ago

It would be nice to be able to have a set log level outside of debug builds, or just in general.

rintomr commented 6 years ago

SRLog.h

define SRLogError(frmt, ...) do{ NSLog((frmt), ##__VA_ARGS__); } while(0) - Change these lines to #define SRLogError(frmt, ...) do{ } while(0).

Similar way change the remaining SRLogs also. The NSLog can be added for only the type of logs which we are expecting.