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

pino-logdna-formatter

Package Overview
Dependencies
Maintainers
2
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pino-logdna-formatter

Formats pino messages to be used with logdna

  • 1.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
630
increased by763.01%
Maintainers
2
Weekly downloads
 
Created
Source

pino-logdna-formatter

This is a tranport for pino that transforms the level field into a string and renames the msg field into message. It also creates a timestamp field from time field.

This format is required in logdna.

Usage

npm install pino-logdna-formatter

And in your package.json

{
    ...
    "scripts":{
        ...
        "start": "node yourprocess.js | pino-logdna-formatter"
    },
    ...
}

Then:

npm run start

Keywords

FAQs

Package last updated on 02 Sep 2018

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