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 pattern

Parameters

ParameterTypeRequiredDescription
messagestringYesMain dashboard log.
erranyNoFor Error only. Pass the value from pcall or xpcall. Stored in origin.errorMessage and origin.errorType.
labelstringNoFilter tag (e.g. Shop).
payloadLogPayloadNoJSON-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: FluxClientInit in StarterPlayerScripts loads FluxClient for each player. Client errors include your Roblox userId.
  • Turn off: set captureUncaughtServerErrors or captureUncaughtClientErrors to false in 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" })