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.
PNLogVerbosity.BODY. For more info on configuration please check the API reference page.
PNConfiguration pnConfiguration = new PNConfiguration(); pnConfiguration.setLogVerbosity(PNLogVerbosity.BODY);