Skip to content

Interface: AppLogger ​

@aletheia-dev/app-sdk: what runs inside a module. An author writes a manifest with zod schemas, the actions and the optional webhook and hand-off handlers, and defineApp turns them into the exports the host calls (manifest, invoke, handle_webhook, handoff); aletheia-app build bundles the result with extism-js into dist/app.wasm.

Nothing here may import Node modules or @aletheia-dev/core: this code runs in QuickJS.

Methods ​

debug() ​

ts
debug(message, fields?): void;

Parameters ​

message ​

string

fields? ​

LogFields

Returns ​

void


error() ​

ts
error(message, fields?): void;

Parameters ​

message ​

string

fields? ​

LogFields

Returns ​

void


info() ​

ts
info(message, fields?): void;

Parameters ​

message ​

string

fields? ​

LogFields

Returns ​

void


warn() ​

ts
warn(message, fields?): void;

Parameters ​

message ​

string

fields? ​

LogFields

Returns ​

void

Released under the Apache-2.0 License.