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

pino-stackdriver

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pino-stackdriver

A transport for pino that sends messages to Google Stackdriver Logging

3.0.0
latest
Source
npm
Version published
Weekly downloads
18K
-17.27%
Maintainers
1
Weekly downloads
 
Created
Source

pino-stackdriver

CI Codacy Badge Known Vulnerabilities Coverage Status js-standard-style

This module provides a "transport" for pino that forwards messages to the Google Stackdriver log service through it's API.

Screenshot

You should install pino-stackdriver globally for ease of use:

npm install --production -g pino-stackdriver

Requirements

This package internally uses the Google cloud logging library to call the Stackdriver Logging API. To be able to log to Stackdriver, some setup is needed on the Google Cloud platform.

Create a service account on the page Stackdriver Logging Client Libraries. This downloads a JSON file with the credentials required.

Installation

To use globally from command line:

npm install -g pino-stackdriver

To include as a library in your project:

npm install pino-stackdriver

CLI

Want to use pino-stackdriver from the CLI? See the CLI documentation for details.

API

Want to use pino-stackdriver as a library in your project? See the API documentation for details.

Maintainers

Osmond van Hemert Github Web

Contributing

If you would like to help out with some code, check the details.

Not a coder, but still want to support? Have a look at the options available to donate.

License

Licensed under MIT.

Keywords

pino

FAQs

Package last updated on 20 Jul 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