Technical Events
Track errors, warnings, and system health. Powers the Technical dashboard.
log
GameRebellion.TrackLog(new GrLogEvent
{
Type = "error",
Category = "network",
Message = "Connection timeout",
ErrorCode = "NET_TIMEOUT",
FeatureName = "multiplayer",
StackTrace = "at NetworkManager.Connect():42",
ExceptionType = "TimeoutException",
IsUserAffected = true
});
| Field | Type | Required | Description |
|---|---|---|---|
Type | string | Yes | error, warning, info, debug |
Category | string | No | Error category (network, rendering, input, logic) |
Message | string | No | Human-readable message |
ErrorCode | string | No | Machine-readable error code |
FeatureName | string | No | Which feature was affected |
StackTrace | string | No | Stack trace (auto-truncated if too long) |
ExceptionType | string | No | Exception class name |
IsUserAffected | bool | No | Whether the player experienced the issue |
health
Periodic health check emitted by the SDK. Typically automatic — useful for monitoring SDK liveness.
| Field | Type | Required | Description |
|---|---|---|---|
status | string | No | ok, degraded, error |
uptime_seconds | number | No | Seconds since SDK initialization |