0.0.4 • Published 7 years ago
typescript-exceptionless v0.0.4
TypeScript helper library for Exceptionless
This is currently a work in progress and will be updated over time.
v0.0.4 - Updated ReadMe
v0.0.3 - Added ReadMe
v0.0.2 - Added createClient and createLog functionality
Installation
npm i --S typescript-exceptionless
Useage
import { Exceptionless } from 'typescript-exceptionless';
Create a Client and pass in your API key and URL.
Exceptionless.createClient('API_KEY', 'http://localhost:1337');
Create a Log using the createLog function.
Exceptionless.createLog('Name of project', 'error message', 'log level', [some, tags])
Example...
Exceptionless.createLog('My App', 'Its on fire!', 'Error', ['Fire', 'Emergency'])