Home > rainway-sdk > RainwayConfig > logSink
RainwayConfig.logSink property
Called by the Rainway SDK for logging. In your implementation of this callback, you can redirect the log messages to a file, or console.log
, or anywhere else.
Signature:
logSink?: (level: RainwayLogLevel, message: string) => void;