The Papertrail Unity SDK allows seamless integration between Unity’s logging system and Papertrail. All logs that already exist in a Unity application are automatically forwarded to Papertrail for recording and viewing them to help track down bugs, monitor player activity, or provide support to users.
View the blog post: https://blog.papertrailapp.com/improve-live-ops-for-games-using-papertrail/
To get started, sign up for a free account to get access to an unlimited number of apps, and 100MB of logging a month.
- Download the latest release of the SDK.
- Import the Papertrail SDK into the project by navigating to Assets/Import Package/Custom Package… and select the downloaded .unitypackage file.
- Open the Project View and navigate to the Papertrail/Resources folder and locate the PapertrailSettings asset file.
- Log into the Papertrail dashboard by pressing the Open Dashboard button or visiting https://papertrailapp.com/dashboard.
- Locate the Add Systems button in the upper right.
- After entering the Add Systems section, locate the hostname and port at the top of the page, directly under Setup Logging.
- Copy the information into the PapertrailSettings configuration.
- Papertrail logging is now set up. Any logs made using Unity’s Debug logging system will be automatically forwarded to Papertrail.
- Return to the Papertrail Dashboard and locate the system by searching for the name entered in the PapertrailSettings asset.
- The logs will now appear as they happen in the Events view of the system.