Troubleshooting PubNub Android SDK

How to enable logging

Pubnub implements swappable logging using SLF4J, which allows you to switch different logging frameworks easily. All the logging calls using SLF4J API will be delegated to the underlying logging framework.

setLogVerbosity to PNLogVerbosity.BODY. For more info on configuration, check the API reference page.

PNConfiguration pnConfiguration = new PNConfiguration();

Last updated on