Home > rainway-sdk > RainwayRuntime > setLogSink
RainwayRuntime.setLogSink() method
Set a handler for Rainway SDK-related logging.
Signature:
setLogSink(logSink: RainwayLogSink): void;
Parameters
Parameter | Type | Description |
---|---|---|
logSink | RainwayLogSink | A function that handles logging calls. It is invoked with an importance level and a string message. |
Returns:
void