Log utente

Log utente

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

Inizia gratis

Livelli di severita

Registri eventi INFO, WARN e ERROR per separare il segnale dal rumore e dare priorita a cio che richiede attenzione.

Cronologia per giocatore

Ogni voce di log e collegata a un ID utente, cosi puo recuperare istantaneamente l'intera cronologia di attivita di qualsiasi giocatore.

Accelerazione del supporto

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

Integrazione rapida

Integrazione rapida

Log attivita

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"}'
Domande frequenti

Domande frequenti

Pronto per l'integrazione?

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