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
- Host: GitHub
- URL: https://github.com/marktopper/js-logger
- Owner: marktopper
- License: mit
- Created: 2015-01-18T22:38:53.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-02-03T14:25:29.000Z (over 11 years ago)
- Last Synced: 2025-09-01T06:58:33.686Z (10 months ago)
- Language: JavaScript
- Homepage: http://webman.io/js-logger
- Size: 164 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)