How do I turn off all the logging on the iphone client?
Posted: 04 Feb 2011, 20:51
How do I turn off all the logging on the iphone client? Is there a way to turn it all off? Thanks.
SmartFoxServer support forums
https://forums.smartfoxserver.com:443/
Code: Select all
//Connects to Smart Fox Server
- (void)connectToSFSServer {
// Initialize sfs server connection
self.smartFox = [[INFSmartFoxiPhoneClient iPhoneClient:YES delegate:self] retain];
#if EnableSFSLogging > 0
//Enable debug messages
[self.smartFox setDebug:YES];
#else
//Disable debug messages
[self.smartFox setDebug:NO];
#endif
[INFSmartFoxObjectSerializer setDebug:YES];
[self.smartFox loadConfig:@"config" autoConnect:YES];
}