Logging for Unreal SDK

By default all logs are printed to the Unreal Editor's Output Log.

To bind additional functionality, use PubnubSubsystem->OnPubnubError.AddDynamic().

Error handling with logging

The PubNub Unreal SDK provides an error handling system that complements the logging capabilities.

Binding to error events

Checking response status in callbacks

Many SDK methods return status codes that you can use to log success or failure.

Viewing logs

Logs generated by the PubNub Unreal SDK can be viewed in:

  • Unreal Editor's Output Log window during development (Window → Developer Tools → Output Log).
  • Debug console when running a packaged game with the console enabled.
  • Log files located in your project's Saved/Logs directory.
Last updated on