Skip to content

LogChannel

A log channel: callable for the common case, with levels when severity matters.

Callable and levelled at once because both already existed. Sources written against this SDK call ctx.log(...); every adapter running in Trove’s cloud calls ctx.log.info(...). Supporting one meant rewriting the other set, for no gain to anybody — so the type admits both and the runtimes supply both.

LogChannel(...args: unknown[]): void;

A log channel: callable for the common case, with levels when severity matters.

Callable and levelled at once because both already existed. Sources written against this SDK call ctx.log(...); every adapter running in Trove’s cloud calls ctx.log.info(...). Supporting one meant rewriting the other set, for no gain to anybody — so the type admits both and the runtimes supply both.

ParameterType
argsunknown[]

void

error(...args: unknown[]): void;

Something that did stop it, or is about to.

ParameterType
argsunknown[]

void


info(...args: unknown[]): void;

Ordinary progress. The default level for a bare log(...) call.

ParameterType
argsunknown[]

void


warn(...args: unknown[]): void;

Something surprising that did not stop the run.

ParameterType
argsunknown[]

void