User Logs

User Logs

Structured player activity logs for debugging, support, and behavioral insights

Get Started Free

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

Quick Integration

Activity Logs

C#
// Unity C# - User Logs
using HorizOn;

var horizon = new HorizonClient("YOUR_API_KEY");

// Create an INFO log entry
await horizon.Logs.Create(userId, "Player entered zone A", LogLevel.Info);

// Create a WARN log entry
await horizon.Logs.Create(userId, "Low memory detected", LogLevel.Warn);

// Create an ERROR log entry with error code
await horizon.Logs.Create(
    userId, "Save failed unexpectedly",
    LogLevel.Error, "SAVE_ERR_001"
);
REST
# REST API - User Logs

# Create an INFO log entry
curl -X POST https://eu.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://eu.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"}'
Frequently Asked Questions

Frequently Asked Questions

Ready to Integrate?

Start building with horizOn today. Free tier included.