Skip to content

setLogSink

setLogSink(sink?): Promise<void>

Defined in: sdks/node/dist/runtime/public/logging.d.ts:11

Install or clear the process log sink. Call initLogging first; before it, both forms fail with the public XmtpError.InvalidInput.

LogSink

Promise<void>