Skip to content

TodaysMeet/node-logging-sentry-handler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

SentryHandler for Logging

A Handler that sends log messages to Sentry, and will try to collect other interesting information to include.

const SentryHandler = require('@todaysmeet/logging-sentry-handler');
const logging = require('@todaysmeet/logging');

let sentry = new SentryHandler(logging.WARNING, process.env.SENTRY_DSN);
logging.getLogger().addHandler(sentry);

About

SentryHandler for node logging

Resources

Stars

Watchers

Forks

Packages

No packages published