[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

nvdbleek/sentry-logger

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

winston-sentry

A sentry transport for winston

Usage

var winston = require('winston');

winston.transports.Sentry = require('winston-sentry');

winston.add(winston.transports.Sentry, options);

The Sentry transport takes the following options:

  • enabled - Flag for explicitly enabling or disabling the transport (enabled by default).
  • dsn - The dsn URL the sentry client uses to connect to Sentry.

Install

npm install winston winston-sentry

Testing

The tests assume you have a sentry server running on the default port on localhost. Work to mock sentry for the tests is ongoing. Tests are run with a simple:

npm test

MIT Licensed

About

A Sentry transport for Winston

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 97.8%
  • OCaml 2.2%