Open jonasman opened 10 years ago
Testing it in the simulator it logs to:
/Users/username/Library/Application Support/iPhone Simulator/7.1-64/Applications/SOME_UUID/Library/Caches/Logs/com.deusty.oss.xmppframework.iPhoneXMPP 2014-08-14 15-07.log
Not working on a phone
I just tested on a device and its logs to the same location Library/Caches/Logs
Could it be because you are not running a Debug Build, most of the log statements are not executed if DEBUG
isn't present in the pre processor macros:
e.g. XMPPStream
#if DEBUG
static const int xmppLogLevel = XMPP_LOG_LEVEL_INFO | XMPP_LOG_FLAG_SEND_RECV; // | XMPP_LOG_FLAG_TRACE;
#else
static const int xmppLogLevel = XMPP_LOG_LEVEL_WARN;
#endif
Im in debug build!
My logs are logged it is just the send/recv that are not
Any idea why
This isn't logging the xmpp comm to a file?