- Compose
- Legacy
The new runtime includes a fine-grained, flexible logging system that allows you to capture logs at various levels (debug, info, warning, error) and redirect them to your preferred logging framework or sink. This is done by implementing the
RiveLog.Logger interface and assigning the global RiveLog.logger property.The library ships with a default implementation that logs to Android Logcat. Enable it with the following: