Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@lumigo/lumigo-log-shipper

Package Overview
Dependencies
Maintainers
3
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lumigo/lumigo-log-shipper

Lumigo Node.js Log Shipper

  • 1.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
3
Weekly downloads
 
Created
Source

lumigo-node-log-shipper

@lumigo/lumigo-log-shipper is Lumigo's log shipper for Node.js.

Usage

Install @lumigo/lumigo-log-shipper:

npm:

$ npm i @lumigo/lumigo-log-shipper

In your lambda's code:

const LumigoLogger = require("@lumigo/lumigo-log-shipper");

module.exports.<HANDLER_NAME> = (event, context, callback) => {
  LumigoLogger.shipLogs(event); 
};

With programtic error:

const LumigoLogger = require("@lumigo/lumigo-log-shipper");

module.exports.<HANDLER_NAME> = (event, context, callback) => {
  LumigoLogger.shipLogs(event, "[Error]"); 
};

Add to your lambda's serverless.yml

    - Effect: Allow
      Action:
        - "sts:AssumeRole"
      Resource:
        - "*"

FAQs

Package last updated on 24 Sep 2020

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc