0.0.20 • Published 10 years ago

sb-error-logger v0.0.20

Weekly downloads
1
License
ISC
Repository
-
Last release
10 years ago

sb-error-logger

Dependencies: none.

Build-dependencies:

"gulp": "^3.9.1",
"gulp-clean": "^0.3.2",
"gulp-concat": "^2.6.0",
"gulp-uglify": "^2.0.0",
"run-sequence": "^1.2.2"

Quick start

npm install --save sb-error-logger

Include the module as a dependency in your application.

    <script src="./node_modules/sb-error-logger/dist/sb-error-logger.js"></script>

Inject module in Angular application

angular
    .module('app', ['sbErrorLogger']);

API

configure(url) // Sets the url the service will post to.
setAppId(appId) // Sets the application ID. (Required to save to database.)
sendError(errorObject) // Takes an object with "type" and "body" to send to the server.
0.0.20

10 years ago

0.0.19

10 years ago

0.0.18

10 years ago

0.0.17

10 years ago

0.0.16

10 years ago

0.0.15

10 years ago

0.0.1

10 years ago