Skip to main content

WasmModuleLogEntry

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

type WasmModuleLogEntry {
ts: DateTime!
moduleName: String!
level: String!
message: String!
triggerSource: String
instanceId: String
}

Fields

WasmModuleLogEntry.ts ● DateTime! non-null scalar

When the line was recorded.

WasmModuleLogEntry.moduleName ● String! non-null scalar

The module name.

WasmModuleLogEntry.level ● String! non-null scalar

Log level: debug | info | warn | error.

WasmModuleLogEntry.message ● String! non-null scalar

The log message.

WasmModuleLogEntry.triggerSource ● String scalar

The entry that produced the line: init | tick | event | invoke.

WasmModuleLogEntry.instanceId ● String scalar

Which ck-api instance produced the line. Null for runtime error lines, which are read back from the run table rather than attributed to an instance. Present on guest ck.log lines, which used to be served from the answering replica's memory and so silently excluded every other instance's output.

Returned By

computeModuleLogs query