Hello everyone,
How can I enable debugging in (a)Smack 4.0.0-rc1?
In previous versions there was an ability to set Connection.DEBUG = true; But in this version this variable is absent in XMPPConnection.
Thanks!
Hello everyone,
How can I enable debugging in (a)Smack 4.0.0-rc1?
In previous versions there was an ability to set Connection.DEBUG = true; But in this version this variable is absent in XMPPConnection.
Thanks!
I found setDebuggerEnabled() method in ConnectionConfiguration, it works, but it enables debugging at the moment of creations and I can’t disable it for this instance in runtime. Is there any other method?
Connection.DEBUG_ENABLED now looks like SmackConfiguration.DEBUG_ENABLED.
Use SmackConfiguraiton.DEBUG_ENABLED to globaly enable debug for all connections. Or ConnectionConfiguration.setDebugEnabled() to enable debug only for connections using this configuration.