0.0.7 • Published 4 years ago

@pinpt/gcp-process-logger v0.0.7

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

GCP Process Logger

This is a simple wrapper to log the output of a process to GCP Cloud Logging.

Example usage:

gcp-process-logger my-test-log --label foo=bar --label bar=foo -- npm run build

This will run anything after the -- as the command and pipe the output to the log name passed as the first argument.

Optionally, you can pass one or more labels as --label key=value which will be attached to the metadata of the log entry.

To control a non-default GCP project id, use --project-id=[ID] to setup the logger to use that id.

0.0.7

4 years ago

0.0.6

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.1

4 years ago