New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

bunyan-raygun

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bunyan-raygun

Raygun transport for Bunyan

latest
Source
npmnpm
Version
0.0.5
Version published
Weekly downloads
85
-26.09%
Maintainers
1
Weekly downloads
 
Created
Source

bunyan-raygun NPM version Downloads Support us Build Status Coveralls Status

Information

Packagebunyan-raygun
DescriptionRaygun transport for Bunyan
Node Version>= 0.10

Usage

var BunyanRaygun = require('bunyan-raygun');

var transport = new BunyanRaygun({
  apiKey: 'your api key',
  user: function(req) {
    // this is optional
    // see https://github.com/MindscapeHQ/raygun4node#unique-user-tracking
  }
});

var logger = bunyan.createLogger({
  name: 'test',
  serializers: bunyan.stdSerializers,
  streams: [{
    type: 'raw',
    level: 'warn',
    stream: transport
  }]
});

This will only send if the log includes an error. Optionally include a request in the log to send that information along.

Like what we do?

FAQs

Package last updated on 05 Aug 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts