Web SDK - RainwayRuntime.setLogSink()

Home > rainway-sdk > RainwayRuntime > setLogSink

RainwayRuntime.setLogSink() method

Set a handler for Rainway SDK-related logging.

Signature:

setLogSink(logSink: RainwayLogSink): void;

Parameters

ParameterTypeDescription
logSinkRainwayLogSinkA function that handles logging calls. It is invoked with an importance level and a string message.

Returns:

void