afshinm / le_typescript

LE TypeScript

Home Page:https://afshinm.github.io/le_typescript/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LogEntries (Rapid7 InsightOps) SDK in TypeScript

  • Simple & easy to use API
  • Promise interface
  • Works in NodeJS and Browser
  • Fully tested

Build Status License Dependency Status

Usage

const Logger = require('le').Logger;

const logger = new Logger('YOUR_TOKEN');

(async function () {
  await logger.error('boom');
  await logger.warning('boom');
  await logger.info('boom');
  await logger.log('boom');
})();

Check out documentation page.

Documentation

https://afshinm.github.io/le_typescript/docs/

TODO

  • Adding stacktrace to the logs
  • Global error catcher
  • Adding platform info to the logs

License

MIT

About

LE TypeScript

https://afshinm.github.io/le_typescript/

License:MIT License


Languages

Language:TypeScript 100.0%