Papertrail Unity SDK allows seamless integration between Unity’s logging system and Papertrail
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
papertrail-sdk
release
tutorial-tanksdemo
.gitignore
README.md

README.md

Papertrail Unity SDK

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.

Papertrail Account Setup

To get started, sign up for a free account to get access to an unlimited number of apps, and 100MB of logging a month.

SDK Setup

  1. Download the latest release of the SDK.
  2. Import the Papertrail SDK into the project by navigating to Assets/Import Package/Custom Package… and select the downloaded .unitypackage file.

Import Package

  1. Open the Project View and navigate to the Papertrail/Resources folder and locate the PapertrailSettings asset file.

Settings Asset

  1. Log into the Papertrail dashboard by pressing the Open Dashboard button or visiting https://papertrailapp.com/dashboard.
  2. Locate the Add Systems button in the upper right.

Add System

  1. After entering the Add Systems section, locate the hostname and port at the top of the page, directly under Setup Logging.

Hostname

  1. Copy the information into the PapertrailSettings configuration.
  2. Papertrail logging is now set up. Any logs made using Unity’s Debug logging system will be automatically forwarded to Papertrail.
  3. Return to the Papertrail Dashboard and locate the system by searching for the name entered in the PapertrailSettings asset.

Search

  1. The logs will now appear as they happen in the Events view of the system.

Logs