Load from free CDN
To load jsnlog.js from this CDN, use this script tag:
<script crossorigin="anonymous" src="https://cdnjs.cloudflare.com/ajax/libs/jsnlog/2.30.0/jsnlog.min.js"></script>
Load from your own server
Assuming you stored jsnlog.min.js in a folder Scripts, you would wind up with a script tag such as this:
Load from free CDN with fallback
If the CDN goes down, you will want your site to fallback automatically to the jsnlog.min.js file hosted on your own server.
Again assuming that you stored a copy of jsnlog.min.js in a folder Scripts on your server, this code will make that happen:
<script crossorigin="anonymous" src="https://cdnjs.cloudflare.com/ajax/libs/jsnlog/2.30.0/jsnlog.min.js" asp-fallback-src="~/Scripts/jsnlog.min.js" asp-fallback-test="window.JL"> </script>
Generated script tag
If you use server side configuration, you can get JSNLog to generate the script tag for you.
Then set the productionLibraryPath property.
<jsnlog productionLibraryPath="https://cdnjs.cloudflare.com/ajax/libs/jsnlog/3.0.0/jsnlog.min.js"> </jsnlog>