
User Logs
Structured player activity logs for debugging, support, and behavioral insights
Severity Levels
Log INFO, WARN, and ERROR events to separate signal from noise and prioritize what needs attention.
Player-Scoped History
Every log entry is tied to a user ID so you can pull the full activity trail for any individual player instantly.
Support Acceleration
Give your support team searchable, timestamped logs so they can diagnose player issues without developer intervention.
Quick Integration
Activity Logs
// Unity C#: User Logs (attached to the signed in player)
using PM.horizOn.Cloud.Manager;
// INFO and WARN entries
await UserLogManager.Instance.Info("Player entered zone A");
await UserLogManager.Instance.Warn("Low memory detected");
// ERROR entry with an error code (max 50 characters)
await UserLogManager.Instance.Error("Save failed unexpectedly", "SAVE_ERR_001");# REST API: User Logs
# Create an INFO log entry
curl -X POST https://horizon.pm/api/v1/app/user-logs/create \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"userId":"USER_ID","message":"Player entered zone A","type":"INFO"}'
# Create an ERROR log with error code
curl -X POST https://horizon.pm/api/v1/app/user-logs/create \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"userId":"USER_ID","message":"Save failed","type":"ERROR","errorCode":"SAVE_ERR_001"}'These examples use the Unity SDK (C#) and the REST API. Godot and Unreal have the same calls in their own SDKs: see the quickstart
Frequently Asked Questions
Ready to Integrate?
Start building with horizOn today. Free tier included.
