🌲A transport for pino that sends messages to Google Stackdriver Logging
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs
src
test
.editorconfig
.eslintrc
.gitignore
.travis.yml
LICENSE
README.md
appveyor.yml fixes appveyor builds Oct 19, 2018
package-lock.json
package.json

README.md

pino-stackdriver

Travis AppVeyor Codacy Badge Known Vulnerabilities Coverage Status Greenkeeper badge 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

Contributing

See the CONTRIBUTING file for details.

License

Licensed under MIT.