nexys
v1.2.0
Published
<p align="center"> <img src="https://imgur.com/DxcGlDs.png" width="400" /> </p> <p align="center"> <span> <img src="https://img.shields.io/badge/TypeScript-007ACC?style=for-the-badge&logo=typescript&logoColor=white" /> <img src="https://img.sh
Downloads
39
Readme
- 0 dependency
- Consistent
- Customizable & Flexible
- Clientside & Serverside
Nexys is a logging service that will enable to review your errors, metrics and much more in production applications.
Nexys will gather all device data automatically (screen size, user agent, device memory, language, connection type and geolocation if permitted)
Also, Nexys will gather all errors on your production application, reports them to dashboard automatically.
You can examine each error and log's stack trace, which file/page the error occurred and many more details.
Nexys supports TypeScript and JavaScript.
Let's get you started!
Install Nexys client library with npm
npm install nexys
Import Nexys to your project
import Nexys from "nexys";
or put this on your HTML file's <head>
tag:
<script src="https://unpkg.com/nexys@latest/dist/bundle.min.js"></script>
Then initialize Nexys
const nexys = new Nexys("API_KEY", { appName: "APP_NAME" });
nexys.log("and start logging!");
Throw an error to see automatic error handling
throw new Error("I should be able to see this error on dashboard");
Want to debug? Use debug parameter on initialization
const nexys = new Nexys("API_KEY", { appName: "APP_NAME", debug: true });