Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@iopipe/logger
Advanced tools
This is a logging plugin for use with IOpipe and AWS Lambda. Automatically records output from console
for viewing in the IOpipe dashboard.
With yarn (recommended) in project directory:
yarn add @iopipe/logger
With npm in project directory:
npm install @iopipe/logger
Then include the plugin with IOpipe in your serverless function:
const iopipeLib = require('@iopipe/iopipe');
const logger = require('@iopipe/logger');
const iopipe = iopipeLib({
token: process.env.IOPIPE_TOKEN,
plugins: [logger({ enabled: true })]
});
exports.handler = iopipe(async (event) => {
console.log('This will show up in IOpipe!');
// supported methods include log, debug, info, warn, error, and dir
return 'Hello world!'
});
enabled
(bool: optional = false)By default, this plugin is disabled. To automatically record output of calls to console
, set this value to true
. You can also use an environment variable like this: IOPIPE_LOGGER_ENABLED=true
.
networkTimeout
(number: optional = 5000)Network timeout for uploading logs to IOpipe.
Apache-2.0 see LICENSE
Copyright 2018, IOpipe, Inc.
FAQs
IOpipe plugin for logging
We found that @iopipe/logger demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 9 open source maintainers collaborating on the project.
Did you know?
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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.