New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

pino-mozlog

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pino-mozlog

A transport for transforming pino logs into mozlog

2.6.0
Source
npm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

pino-mozlog

CircleCI npm version

A transport for transforming pino logs into mozlog.

Installation

$ npm i pino-mozlog

Usage

This transport only reformats the logs into mozlog compatible strings:

$ node your-app.js | pino-mozlog

You can specify the mozlog type:

$ node your-proxy.js | pino-mozlog --type proxy

By default, errors are sent to stderr (not mozlog-compliant though). You can disable this behavior and ignore all errors with --silent:

$ node your-app.js | pino-mozlog --silent

License

pino-mozlog is released under the Mozilla Public License Version 2.0. See the bundled LICENSE file for details.

FAQs

Package last updated on 21 Jun 2021

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