-
Clone repo
-
Install
yarn
-
Build and Watch Web bundle
yarn watch
-
Start Log server
npm start
-
Put script tag on your website (must be first among all scripts)
<script src="http://localhost:8000/public/client.min.js"></script> <script> new MiniLogClient({ baseUrl: "http://localhost:8000", logFetch: true }); </script>
โ ๏ธ This script will override console methods, only include this on development! -
Make sure you have
console.{log,warn,error}
on your website for testing -
Check the logs on:
http://localhost:8000/dashboard
You can use .env
file, it'll be loaded by bnr
script
MIT