Log utente

Log utente

Log strutturati di attività dei giocatori per debugging, supporto e analisi comportamentale

Inizia gratis

Livelli di severità

Registri eventi INFO, WARN e ERROR per separare il segnale dal rumore e dare priorità a ciò che richiede attenzione.

Cronologia per giocatore

Ogni voce di log e collegata a un ID utente, così può recuperare istantaneamente l'intera cronologia di attività di qualsiasi giocatore.

Accelerazione del supporto

Offra al Suo team di supporto log ricercabili e con timestamp così che possano diagnosticare i problemi dei giocatori senza intervento degli sviluppatori.

Integrazione rapida

Integrazione rapida

Log attività

Unity (C#)
// 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
# 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"}'

Questi esempi usano l'SDK per Unity (C#) e la REST API. Godot e Unreal hanno le stesse chiamate nei loro SDK: vedi la quickstart

Domande frequenti

Domande frequenti

Pronto per l'integrazione?

Inizi a costruire con horizOn oggi stesso. Tier gratuito incluso.