@schirrel/remote-logger
v1.2.0
Published
View remote console and error from anywhere
Downloads
2
Readme
Remote Logger
See console.log
and its siblings as well as exceptions throw from another place.
Initially develop to help on mobile debug of logs, mostly for Safari or iOS Browser. But you can use as you wish.
Logs may live no more than 3/4 days at our database.
Install
npm i @schirrel/remote-logger
yarn add @schirrel/remote-logger
CDN
https://cdn.jsdelivr.net/gh/schirrel/remote-logger@main/lib/remote-logger.min.js
How it works
Generate your logger id at https://remote-logger.web.app/
Setup it on you app and watch the loggers at Watcher.
Usage
CDN
at HTML
<script src="https://cdn.jsdelivr.net/gh/schirrel/remote-logger@main/lib/remote-logger.min.js"> </script>
at JavaScript
import "https://cdn.jsdelivr.net/gh/schirrel/remote-logger@main/lib/remote-logger.min.js"
Installed
import "@schirrel/remote-logger"
Now the DebugRemoteLogger
is global and simple use as:
DebugRemoteLogger("your-generated-id")