pino-google-cloud-loggingdeprecated

CLI that sends standard input to Google Cloud Stackdriver Logging.

Usage no npm install needed!

<script type="module">
  import pinoGoogleCloudLogging from 'https://cdn.skypack.dev/pino-google-cloud-logging';
</script>

README

pino-google-cloud-logging

Pino transport to Google Cloud Stackdriver Logging.

Falls back to simple logging of standard input.

Options

Options can be passed via rc with module key pgcl.

  • gclOptions - Options to pass to Logging.
    • projectId
    • keyFilename
    • email
    • credentials
      • client_email
      • private_key
  • gclLogName - The log name.