Set an appID and start a recording a session.
Call init with your appID to configure and start LogRocket. You can find your appID on https://app.logrocket.com.
LogRocket.init(YOUR_APP_ID);
Callinitas early on the page as possible. Some recording data may be lost if it is called too late.
This function takes a second parameter of options to affect recording behavior. These are listed in detail below:
