API

Exported types

Shared surface on both modules except Init and Ping.

Luau

export type LogLevel = "info" | "warn" | "error"

export type LogEnvironment = "server" | "client"

export type LogPayload = { [string]: any }

export type LogOrigin = {
  script: string?,
  line: number?,
  name: string?,
  traceback: string?,
  errorMessage: string?,
  errorType: string?,
}

export type FluxLevelMap = {
  info: LogLevel,
  warn: LogLevel,
  error: LogLevel,
}

The frozen FluxShared module also exposes wire limits and tuning used by FluxClient and FluxServer, including REMOTE_EVENT_NAME, REMOTE_PACKET_LOGS_KEY, MAX_REMOTE_PACKET_LOGS, MAX_LOG_MESSAGE, MAX_LOG_LABEL, flush delay bounds, per-player client log throttle fields, SERVER_HTTP_BATCH_SIZE, SERVER_QUEUE_MAX, and clampLogMessage / clampLogLabel.

Install

Install the SDK with the Flux Roblox Studio plugin from the Creator Store.