
Registros de usuario
Registros estructurados de actividad de jugadores para debugging, soporte e informacion de comportamiento
Niveles de severidad
Registre eventos INFO, WARN y ERROR para separar la senal del ruido y priorizar lo que requiere atencion.
Historial por jugador
Cada entrada de log esta vinculada a un ID de usuario, de modo que puede obtener el rastro completo de actividad de cualquier jugador al instante.
Aceleracion del soporte
Proporcione a su equipo de soporte registros con busqueda y marca de tiempo para que puedan diagnosticar problemas de jugadores sin intervencion del equipo de desarrollo.
Integracion rapida
Registros de actividad
// 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 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"}'Preguntas frecuentes
Listo para integrar?
Empiece a construir con horizOn hoy. Nivel gratuito incluido.
