-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Logging in XMPPFramework classes is hard to turn off #40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Now you can just do this (in XMPPLogging.h): #define XMPP_LOGGING_ENABLED 0 |
May I suggest a small amendment:
My goal is to not have to modify XMPP framework at all so I can include the framework and do updates against the main repository without having to "patch" in changes every time. This change would allow you to define it in a .pch header before XMPP is included and override the default |
Great idea! |
…modify repository files. (issue #40)
Hi, Robbie Hanson, I used the TurnSocket to transmit file, my server is ejabberd. I test the iChat and Adium can be transmit file. but when I used the iPhone simulator, the "- (void)turnSocketDidFail:(TURNSocket *)sender" was called every times. first, I must set the proxy server array? second, i must use the full JID to receiver name?
} and the, I receive the items: @"conference.mini.local",@"pubsub.mini.local", @"vjud.mini.local" |
…ework (fixes issue robbiehanson#40)
…modify repository files. (issue robbiehanson#40)
If you use CocoaLumberjack elsewhere in your project it is difficult to turn off XMPP logging without currently going through each file and modifying the log level.
XMPPFramework should not use #if DEBUG to determine its logging but rather an internal #DEFINE.
The text was updated successfully, but these errors were encountered: