An open API service indexing awesome lists of open source software.

https://github.com/marktopper/js-logger

This will make it possible for you to track all your Javascript errors into a log on your server
https://github.com/marktopper/js-logger

Last synced: 10 months ago
JSON representation

This will make it possible for you to track all your Javascript errors into a log on your server

Awesome Lists containing this project

README

          

# js-logger
This will make it possible for you to track all your Javascript errors into a log on your server

# How to use

First include the js file into the top of your ``-tag:
```

```

Then initilize it:
```
JSLogger({
url: '//your-site.com/logger.php'
});
```

Then whenever a JS error happens, it will be sent to your `logger.php` file. (Change this to whatever you want)

# Server Examples
- [Logger.php Example](https://github.com/marktopper/js-logger/blob/master/examples/serverside/logger.php)