API
Info, Warn, Error
Same methods on
FluxServer and FluxClient. Server logs use environment = "server". Client logs are stored as client after the server validates them.Signatures
FluxServer.Info(message: string, label: string?, payload: LogPayload?)
FluxClient.Info(message: string, label: string?, payload: LogPayload?)
-- Warn / Error: same patternParameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| message | string | Yes | Main dashboard log. |
| err | any | No | For Error only. Pass the value from pcall or xpcall. Stored in origin.errorMessage and origin.errorType. |
| label | string | No | Filter tag (e.g. Shop). |
| payload | LogPayload | No | JSON-serializable extra fields. |
Uncaught errors
Flux can log script failures you never wrapped in pcall. This is on by default. Logs use label Uncaught.
- Server: after
FluxServer.Init, uncaught server errors are sent automatically. - Client:
FluxClientInitin StarterPlayerScripts loadsFluxClientfor each player. Client errors include your RobloxuserId. - Turn off: set
captureUncaughtServerErrorsorcaptureUncaughtClientErrorstofalsein FluxConfig.
Not captured: every line in Studio Output, warn(), errors inside pcall, or errors before Init runs. Repeated identical errors are throttled in the SDK.
Examples
FluxServer.Info("Economy tick OK", "System", { balance = 120 })
-- LocalScript
FluxClient.Warn("Input debounce fired", "UI", { frame = "Main" })