Skip to content
Branch: master
Find file History
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
system-test refactor: wrap execSync with encoding: utf-8 Apr 5, 2019
.eslintrc.yml
README.md docs: use repo-metadata to generate README (#306) May 1, 2019
package.json
quickstart.js docs: update README/samples to target winston@3 Apr 18, 2019
setup_explicit.js docs: use repo-metadata to generate README (#306) May 1, 2019

README.md

Google Cloud Platform logo

Stackdriver Logging for Winston: Node.js Samples

Open in Cloud Shell

This module provides a higher-level layer for working with Stackdriver Logging, compatible with Winston. Simply attach this as a transport to your existing Winston loggers.

Table of Contents

Before you begin

Before running the samples, make sure you've followed the steps outlined in Using the client library.

Samples

Quickstart

View the source code.

Open in Cloud Shell

Usage:

node quickstart.js


Explicit Auth Setup

View the source code.

Open in Cloud Shell

Usage:

node setup_explicit.js

You can’t perform that action at this time.