Skip to content

johnshopkins/js-logger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

js-logger

Library used to interact with Sentry's Raven logging object

Usage

var JSLogger = require("js-logger");

var dsn = "";      // see https://docs.sentry.io/quickstart/#configure-the-dsn
var settings = {}; // see https://docs.sentry.io/clients/javascript/config/

var logger = new JSLogger(dsn, settings);

logger.run().loaded(function () {

  // do stuff

  // log stuff
  logger.log("testing", "warning");

});

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published