This repository was archived by the owner on Dec 13, 2023. It is now read-only.
Version 1.0.0
Version 1.0.0 04.06.2019
Backtrace-nodenow supports TypeScript. We care about your applications that using Backtrace-Node library so we prepared compatible API for you. If you still want to use modern API please useBacktraceClientinstead.Backtrace-nodeoptions now support sampling and client rate limiting.- sampling allows you to drop random reports generated by your application depends on sampling value,
- client rate limit allows you to set up client limit. By setting this value you will tell library how many reports per minute, client can send to Backtrace
Backtrace-nodesend methods accept new paramtere -fileAttachment. If you pass array of stringsbacktrace-nodewill try to read each file from hard drive and add this as attachment tobacktraceReport.Backtrace-nodeallows you to useeventEmmiterevents! Now when you can use events like:'before-send','after-send'and others!- Modern Promise API is here!
Backtrace-nodeallows you to useasync/awaitsyntax to send reports to Backtrace! reportSyncandreportAsyncmethods now returnsBacktraceResultobject that allows you to understand what happend with report. If you have connection/configuration problemsBacktraceResultallows you to learn what happend inside library!- Backtrace prepare a lot sample application for you! If you want to learn how to use Backtrace in your nodejs application (no matter if you using JavaScript/TypeScript) please check examples directory!