Skip to main content

computeModuleLogs

Diagnostic log lines for an app's compute modules, newest first. Phase 1 surfaces failed-run errors; the runtime adds guest log output when modules execute. Requires the org 'view_compute_diagnostics' permission.

computeModuleLogs(
appId: BigInt!
moduleName: String
limit: Int
): [WasmModuleLogEntry!]!

Arguments

computeModuleLogs.appId ● BigInt! non-null scalar

The app (tenant) whose logs to read.

computeModuleLogs.moduleName ● String scalar

Optional: only lines from this module.

computeModuleLogs.limit ● Int scalar

Max lines to return (default 100, max 500).

Type

WasmModuleLogEntry object

A diagnostic log line for a compute module. Phase 1 surfaces failed-run errors; the Phase 2 runtime adds guest ck.log output.