Unity Developer Path
Looking for Unity use-cases, white papers, and sample apps? Check out our Unity Developer Path.
How to enable logging
PNLogVerbosity.BODY when initializing PubNub.
ENABLE_PUBNUB_LOGGINGfor each of the platforms you want to enable logging.
This setting is available in the Unity Editor:
Scripting define symbols.
After you type
ENABLE_PUBNUB_LOGGINGin it, remember to press Return with the focus still in the text box, or your setting will not be saved.
Build Settingsof UnityEditor check
Development Build, then build and run.
The location of the log files can be found at the following link: https://docs.unity3d.com/Manual/LogFiles.html.