{"_id":"@driffel/universal-google-logger","_rev":"18-6df32de5024ae2d2ed734d6021c0d916","name":"@driffel/universal-google-logger","description":"Log across Google Cloud (GCE VMs, Firebase Functions, etc.) using one library.","dist-tags":{"latest":"0.8.7"},"versions":{"0.5.0":{"name":"@driffel/universal-google-logger","version":"0.5.0","keywords":[],"author":"","license":"MIT","_id":"@driffel/universal-google-logger@0.5.0","maintainers":[{"name":"driffel","email":"donriffel@gmail.com"}],"dist":{"shasum":"ac8a0189aef42a5e41a746133b8d899d3168e947","tarball":"https://registry.npmjs.org/@driffel/universal-google-logger/-/universal-google-logger-0.5.0.tgz","fileCount":9,"integrity":"sha512-t3V2SbPXX9aGb67cvUfySc6FMDTxktNUizrfqkiTrtOsXp3fW2fKhA2fHkJEYZtUUeiN8z7l/OnkzKcHjUivxQ==","signatures":[{"sig":"MEQCIHbiBMqpY/TaMHPcarujk0tNnZVHKJB8q795Z+3SM5hzAiBShj878bg1+JLsxYe6ingxhiuQ6zo4B0cwqtA+7lsRng==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":56800},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","gitHead":"8f012b41fc805aa5df3a5f01130129bbeba8e45e","scripts":{"test":"rimraf coverage && jest --coverage","build":"rimraf dist && tsup","prepublishOnly":"npm run build"},"_npmUser":{"name":"driffel","email":"donriffel@gmail.com"},"_npmVersion":"9.5.1","description":"⏩ Use the same library to log across GCE VMs, Firebase Functions, etc.","directories":{},"_nodeVersion":"18.16.1","dependencies":{"sync-fetch":"^0.5.2","@google-cloud/logging":"^11.0.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^8.0.1","rimraf":"^5.0.5","ts-jest":"^29.1.2","ts-node":"^10.9.2","typescript":"^5.3.3","@types/jest":"^29.5.12","@types/express":"^4.17.21","@types/sync-fetch":"^0.4.3"},"_npmOperationalInternal":{"tmp":"tmp/universal-google-logger_0.5.0_1708043730558_0.8730174499825314","host":"s3://npm-registry-packages"}},"0.6.0":{"name":"@driffel/universal-google-logger","version":"0.6.0","keywords":[],"author":"","license":"MIT","_id":"@driffel/universal-google-logger@0.6.0","maintainers":[{"name":"driffel","email":"donriffel@gmail.com"}],"dist":{"shasum":"9a77f368496eba3cd9bc4a29c49c6c41f4008a95","tarball":"https://registry.npmjs.org/@driffel/universal-google-logger/-/universal-google-logger-0.6.0.tgz","fileCount":9,"integrity":"sha512-tIoI9n8sxbA9+ZehhPJrtdF4cvwri+CAuFO4EIs9JYeGR0PMKQhi+3zGMpR3sCQ61S32Vyxj35dtz+pyf/XHZg==","signatures":[{"sig":"MEQCIEMUpYJgTUBfkP6N5NbnxYJDi1EX6pixbKUU0kEV0rJ9AiBcH4EEsSoocrSHVPQTsHQaRnpkk6V4393wzUkyba1rJQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":60146},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","gitHead":"8f012b41fc805aa5df3a5f01130129bbeba8e45e","scripts":{"test":"rimraf coverage && jest --coverage","build":"rimraf dist && tsup","prepublishOnly":"npm run build"},"_npmUser":{"name":"driffel","email":"donriffel@gmail.com"},"_npmVersion":"9.5.1","description":"⏩ Use the same library to log across GCE VMs, Firebase Functions, etc.","directories":{},"_nodeVersion":"18.16.1","dependencies":{"sync-fetch":"^0.5.2","@google-cloud/logging":"^11.0.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^8.0.1","rimraf":"^5.0.5","ts-jest":"^29.1.2","ts-node":"^10.9.2","typescript":"^5.3.3","@types/jest":"^29.5.12","@types/express":"^4.17.21","@types/sync-fetch":"^0.4.3"},"_npmOperationalInternal":{"tmp":"tmp/universal-google-logger_0.6.0_1708161520476_0.7904860601265122","host":"s3://npm-registry-packages"}},"0.6.1":{"name":"@driffel/universal-google-logger","version":"0.6.1","keywords":[],"author":"","license":"MIT","_id":"@driffel/universal-google-logger@0.6.1","maintainers":[{"name":"driffel","email":"donriffel@gmail.com"}],"dist":{"shasum":"166c0fd855104a7fa6cff95898e9c9eb6ae8b1e8","tarball":"https://registry.npmjs.org/@driffel/universal-google-logger/-/universal-google-logger-0.6.1.tgz","fileCount":9,"integrity":"sha512-UvgVazhy0BEgJ+cWOTane/4Wq67LETLTOaq918mYWTURgCGQXi8CdH5umGly9MUQy0iHu8FtuWBcABOVn+1Spg==","signatures":[{"sig":"MEYCIQC5HH83eS/SmNYxURg+iduYuW01TQ/+H594uahD0iyBoQIhAIoDbGCVtCRIYeA22wdr0ViFUJt0dFKvriDOwysLvBzL","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":60424},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","gitHead":"8f012b41fc805aa5df3a5f01130129bbeba8e45e","scripts":{"test":"rimraf coverage && jest --coverage","build":"rimraf dist && tsup","prepublishOnly":"npm run build"},"_npmUser":{"name":"driffel","email":"donriffel@gmail.com"},"_npmVersion":"9.5.1","description":"Log across Google Cloud (eg: GCE VMs, Firebase Functions) using one library.","directories":{},"_nodeVersion":"18.16.1","dependencies":{"sync-fetch":"^0.5.2","@google-cloud/logging":"^11.0.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^8.0.1","rimraf":"^5.0.5","ts-jest":"^29.1.2","ts-node":"^10.9.2","typescript":"^5.3.3","@types/jest":"^29.5.12","@types/express":"^4.17.21","@types/sync-fetch":"^0.4.3"},"_npmOperationalInternal":{"tmp":"tmp/universal-google-logger_0.6.1_1708166583898_0.393256115653819","host":"s3://npm-registry-packages"}},"0.6.2":{"name":"@driffel/universal-google-logger","version":"0.6.2","keywords":[],"author":"","license":"MIT","_id":"@driffel/universal-google-logger@0.6.2","maintainers":[{"name":"driffel","email":"donriffel@gmail.com"}],"dist":{"shasum":"a2745217da3f5f1384100ca07955d5d62cab28a7","tarball":"https://registry.npmjs.org/@driffel/universal-google-logger/-/universal-google-logger-0.6.2.tgz","fileCount":9,"integrity":"sha512-O0EqhW+yZCJFX7IqgXDEE96L5jV/cyHUcIOYv2KBXtAHW6U0lVOiKHzRZFrP1Iab8oh7Uh7bWdFlM1dydR/3RA==","signatures":[{"sig":"MEQCIAJRWfsJvuEmkGpzbN/BHw/+M1T7OYTvBLjPFZgm/iTwAiAtjQsEJbqLRD+/MfP5J0NOEB9k0RqTWxH5eDggBtwBPA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":60513},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","gitHead":"8f012b41fc805aa5df3a5f01130129bbeba8e45e","scripts":{"test":"rimraf coverage && jest --coverage","build":"rimraf dist && tsup","prepublishOnly":"npm run build"},"_npmUser":{"name":"driffel","email":"donriffel@gmail.com"},"_npmVersion":"9.5.1","description":"Log across Google Cloud (GCE VMs, Firebase Functions, etc.) using one library.","directories":{},"_nodeVersion":"18.16.1","dependencies":{"sync-fetch":"^0.5.2","@google-cloud/logging":"^11.0.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^8.0.1","rimraf":"^5.0.5","ts-jest":"^29.1.2","ts-node":"^10.9.2","typescript":"^5.3.3","@types/jest":"^29.5.12","@types/express":"^4.17.21","@types/sync-fetch":"^0.4.3"},"_npmOperationalInternal":{"tmp":"tmp/universal-google-logger_0.6.2_1708166907177_0.05848352707722437","host":"s3://npm-registry-packages"}},"0.6.3":{"name":"@driffel/universal-google-logger","version":"0.6.3","keywords":[],"author":"","license":"MIT","_id":"@driffel/universal-google-logger@0.6.3","maintainers":[{"name":"driffel","email":"donriffel@gmail.com"}],"dist":{"shasum":"7101740b674b3b13f6ad5e968bf745db7067e4a0","tarball":"https://registry.npmjs.org/@driffel/universal-google-logger/-/universal-google-logger-0.6.3.tgz","fileCount":9,"integrity":"sha512-94lIFFxYVAGU5HmcqhyI6NCzZ33LYkZ+/kaVRC/b9PSgTypchPMkr0rujDdkvdMiy7hfOs/OgT/sw+RVE3e/bg==","signatures":[{"sig":"MEYCIQD2FMy2AsgYLvvLA97Iop1sM3AjNOT6cJXlc4uv5PJvegIhAOTDZbpabvqsuaoorZoWhxwxZE3b9LPUrhgqYgskjACD","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":60694},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","gitHead":"8f012b41fc805aa5df3a5f01130129bbeba8e45e","scripts":{"test":"rimraf coverage && jest --coverage","build":"rimraf dist && tsup","prepublishOnly":"npm run build"},"_npmUser":{"name":"driffel","email":"donriffel@gmail.com"},"_npmVersion":"9.5.1","description":"Log across Google Cloud (GCE VMs, Firebase Functions, etc.) using one library.","directories":{},"_nodeVersion":"18.16.1","dependencies":{"sync-fetch":"^0.5.2","@google-cloud/logging":"^11.0.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^8.0.1","rimraf":"^5.0.5","ts-jest":"^29.1.2","ts-node":"^10.9.2","typescript":"^5.3.3","@types/jest":"^29.5.12","@types/express":"^4.17.21","@types/sync-fetch":"^0.4.3"},"_npmOperationalInternal":{"tmp":"tmp/universal-google-logger_0.6.3_1708167152398_0.548487622910308","host":"s3://npm-registry-packages"}},"0.6.4":{"name":"@driffel/universal-google-logger","version":"0.6.4","keywords":[],"author":"","license":"MIT","_id":"@driffel/universal-google-logger@0.6.4","maintainers":[{"name":"driffel","email":"donriffel@gmail.com"}],"dist":{"shasum":"7d8237281845130732dc2efdfbe3cd22159ea6f2","tarball":"https://registry.npmjs.org/@driffel/universal-google-logger/-/universal-google-logger-0.6.4.tgz","fileCount":9,"integrity":"sha512-g26zerFanCR504Pyf33DL3pxwKTH8e8FVO/7XuhhotfBuSmCaoHl4n71V+kA8m1rU5hXbvdl29ImNVOYK4S2jg==","signatures":[{"sig":"MEUCIGofRYvY7hk1+HCdHDlGptj2+6FW4glsxjXLKZvkbaj0AiEA4LkBDpveHltUPQSxBzHPRWi7fbgCbw63NCs3rMaK68c=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":60887},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","gitHead":"8f012b41fc805aa5df3a5f01130129bbeba8e45e","scripts":{"test":"rimraf coverage && jest --coverage","build":"rimraf dist && tsup","prepublishOnly":"npm run build"},"_npmUser":{"name":"driffel","email":"donriffel@gmail.com"},"_npmVersion":"9.5.1","description":"Log across Google Cloud (GCE VMs, Firebase Functions, etc.) using one library.","directories":{},"_nodeVersion":"18.16.1","dependencies":{"sync-fetch":"^0.5.2","@google-cloud/logging":"^11.0.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^8.0.1","rimraf":"^5.0.5","ts-jest":"^29.1.2","ts-node":"^10.9.2","typescript":"^5.3.3","@types/jest":"^29.5.12","@types/express":"^4.17.21","@types/sync-fetch":"^0.4.3"},"_npmOperationalInternal":{"tmp":"tmp/universal-google-logger_0.6.4_1708167416539_0.8767026351751257","host":"s3://npm-registry-packages"}},"0.6.5":{"name":"@driffel/universal-google-logger","version":"0.6.5","keywords":["google apis client","google api client","google apis","google api","google","google cloud platform","google cloud","cloud","google logging","logging","stackdriver logging","stackdriver"],"author":"","license":"MIT","_id":"@driffel/universal-google-logger@0.6.5","maintainers":[{"name":"driffel","email":"donriffel@gmail.com"}],"dist":{"shasum":"f3ff7f4c504365a42f1db8bb3a2ca22d7af85424","tarball":"https://registry.npmjs.org/@driffel/universal-google-logger/-/universal-google-logger-0.6.5.tgz","fileCount":9,"integrity":"sha512-UoKpdWqZuQY5ANemDbZRGtugHtvaRpbvfl5kYiShWcwKxZCdLIwfvLiP5CT8BqCnzrBBRwXDIvcb/IbMh5H+KA==","signatures":[{"sig":"MEUCIFVLlwd0DW1jKMZzParKUYPSHkI9+XLdYpjMEl+6expTAiEAlo3pA7l442eqjhuiZtHGwoT0sLY7iSsYJS/kmNGnjJE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":61147},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","gitHead":"8f012b41fc805aa5df3a5f01130129bbeba8e45e","scripts":{"test":"rimraf coverage && jest --coverage","build":"rimraf dist && tsup","prepublishOnly":"npm run build"},"_npmUser":{"name":"driffel","email":"donriffel@gmail.com"},"_npmVersion":"9.5.1","description":"Log across Google Cloud (GCE VMs, Firebase Functions, etc.) using one library.","directories":{},"_nodeVersion":"18.16.1","dependencies":{"sync-fetch":"^0.5.2","@google-cloud/logging":"^11.0.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^8.0.1","rimraf":"^5.0.5","ts-jest":"^29.1.2","ts-node":"^10.9.2","typescript":"^5.3.3","@types/jest":"^29.5.12","@types/express":"^4.17.21","@types/sync-fetch":"^0.4.3"},"_npmOperationalInternal":{"tmp":"tmp/universal-google-logger_0.6.5_1708167809557_0.23785713293063737","host":"s3://npm-registry-packages"}},"0.6.6":{"name":"@driffel/universal-google-logger","version":"0.6.6","keywords":["google apis client","google api client","google apis","google api","google","google cloud platform","google cloud","cloud","google logging","logging","stackdriver logging","stackdriver"],"author":"","license":"MIT","_id":"@driffel/universal-google-logger@0.6.6","maintainers":[{"name":"driffel","email":"donriffel@gmail.com"}],"dist":{"shasum":"b44d9e1fac28401acad52a5331eb24169b8a96aa","tarball":"https://registry.npmjs.org/@driffel/universal-google-logger/-/universal-google-logger-0.6.6.tgz","fileCount":9,"integrity":"sha512-Wb6AG+AYGtoKmj/jOEXKRIP/R2Et1uecwedqN1bz5Fj5QzQRXppWwVwmw15dNw84ThdkF8ylO93V67FvT0Mg9A==","signatures":[{"sig":"MEQCIE3/COt5NYTLg8db9S2KVBM1qQV7ZQmHlItBtrFrO/KEAiB4voHX/BtZ9BJXuW1EnKPRlDtoULw5qo/dsz4/Kx3XsQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":61146},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","gitHead":"8f012b41fc805aa5df3a5f01130129bbeba8e45e","scripts":{"test":"rimraf coverage && jest --coverage","build":"rimraf dist && tsup","prepublishOnly":"npm run build"},"_npmUser":{"name":"driffel","email":"donriffel@gmail.com"},"_npmVersion":"9.5.1","description":"Log across Google Cloud (GCE VMs, Firebase Functions, etc.) using one library.","directories":{},"_nodeVersion":"18.16.1","dependencies":{"sync-fetch":"^0.5.2","@google-cloud/logging":"^11.0.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^8.0.1","rimraf":"^5.0.5","ts-jest":"^29.1.2","ts-node":"^10.9.2","typescript":"^5.3.3","@types/jest":"^29.5.12","@types/express":"^4.17.21","@types/sync-fetch":"^0.4.3"},"_npmOperationalInternal":{"tmp":"tmp/universal-google-logger_0.6.6_1708167930682_0.1184097584154864","host":"s3://npm-registry-packages"}},"0.6.7":{"name":"@driffel/universal-google-logger","version":"0.6.7","keywords":["google apis client","google api client","google apis","google api","google","google cloud platform","google cloud","cloud","google logging","logging","stackdriver logging","stackdriver"],"author":"","license":"MIT","_id":"@driffel/universal-google-logger@0.6.7","maintainers":[{"name":"driffel","email":"donriffel@gmail.com"}],"dist":{"shasum":"e1ee6329538c2a34e61e5e83f86786cef3ae91c9","tarball":"https://registry.npmjs.org/@driffel/universal-google-logger/-/universal-google-logger-0.6.7.tgz","fileCount":9,"integrity":"sha512-1nO5cwqLmAXC9SfRXixGUGoTXOkC/SfD0CeJ7KXiN+guKn87KwTVVGHR1/RsMddMbVoL2W7YC6LwENARQjMbFg==","signatures":[{"sig":"MEUCIDnUqvKGD3JO1Ocdt4KQ2XCp9dgnfwTavico05UY6wc9AiEAkBX4llvcV0h/GBO03S9rgYb5jXOt+gFO5AMieOhMoBI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":61147},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","gitHead":"8f012b41fc805aa5df3a5f01130129bbeba8e45e","scripts":{"test":"rimraf coverage && jest --coverage","build":"rimraf dist && tsup","prepublishOnly":"npm run build"},"_npmUser":{"name":"driffel","email":"donriffel@gmail.com"},"_npmVersion":"9.5.1","description":"Log across Google Cloud (GCE VMs, Firebase Functions, etc.) using one library.","directories":{},"_nodeVersion":"18.16.1","dependencies":{"sync-fetch":"^0.5.2","@google-cloud/logging":"^11.0.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^8.0.1","rimraf":"^5.0.5","ts-jest":"^29.1.2","ts-node":"^10.9.2","typescript":"^5.3.3","@types/jest":"^29.5.12","@types/express":"^4.17.21","@types/sync-fetch":"^0.4.3"},"_npmOperationalInternal":{"tmp":"tmp/universal-google-logger_0.6.7_1708168004509_0.05954926210586731","host":"s3://npm-registry-packages"}},"0.7.0":{"name":"@driffel/universal-google-logger","version":"0.7.0","keywords":["google apis client","google api client","google apis","google api","google","google cloud platform","google cloud","cloud","google logging","logging","stackdriver logging","stackdriver"],"author":"","license":"MIT","_id":"@driffel/universal-google-logger@0.7.0","maintainers":[{"name":"driffel","email":"donriffel@gmail.com"}],"dist":{"shasum":"af125329e0bf0c1e4cade111bd126332b0a07255","tarball":"https://registry.npmjs.org/@driffel/universal-google-logger/-/universal-google-logger-0.7.0.tgz","fileCount":9,"integrity":"sha512-M8ZKCioqBDyyHFAvI3heIyyXPAEAdf0gGUaBbAdt688h9+WY+ztIcCu2mn8jQE8GqzxnUT0A35cjOHLVNVoULA==","signatures":[{"sig":"MEUCIQDqr5tISsDrKbGIp1SMRxVL+RVlPzhU9Nhr562AeWGrMQIgVUcoDGR1vHRRNmooEvDboTjFz5TwgCvxBGIlLniIouo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":62603},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","gitHead":"8f012b41fc805aa5df3a5f01130129bbeba8e45e","scripts":{"test":"rimraf coverage && jest --coverage","build":"rimraf dist && tsup","prepublishOnly":"npm run build"},"_npmUser":{"name":"driffel","email":"donriffel@gmail.com"},"_npmVersion":"10.2.4","description":"Log across Google Cloud (GCE VMs, Firebase Functions, etc.) using one library.","directories":{},"_nodeVersion":"18.19.1","dependencies":{"sync-fetch":"^0.5.2","@google-cloud/logging":"^11.0.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^8.0.1","rimraf":"^5.0.5","ts-jest":"^29.1.2","ts-node":"^10.9.2","typescript":"^5.3.3","@types/jest":"^29.5.12","@types/express":"^4.17.21","@types/sync-fetch":"^0.4.3"},"_npmOperationalInternal":{"tmp":"tmp/universal-google-logger_0.7.0_1712037049631_0.27060351008007033","host":"s3://npm-registry-packages"}},"0.7.1":{"name":"@driffel/universal-google-logger","version":"0.7.1","keywords":["google apis client","google api client","google apis","google api","google","google cloud platform","google cloud","cloud","google logging","logging","stackdriver logging","stackdriver"],"author":"","license":"MIT","_id":"@driffel/universal-google-logger@0.7.1","maintainers":[{"name":"driffel","email":"donriffel@gmail.com"}],"dist":{"shasum":"7440b5bbd4d7d7d45671d684ef70820cbba5bbb1","tarball":"https://registry.npmjs.org/@driffel/universal-google-logger/-/universal-google-logger-0.7.1.tgz","fileCount":9,"integrity":"sha512-uenwvHRcFmv8Eme7f9UnWqxH7oJDwslzix+K0/bbL70IlWiOsGHYiYoORYOMjMszKhldnihdq3QGqvr0iFQHkA==","signatures":[{"sig":"MEQCIEz1ee3qhHNS1+0lnkMfEzYgohgvt8MPOOuhOd3o/svgAiBJpIpiVHghHf1OHn6Awbv0SmsDH2dj6Yj9AhSEo5DGYA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":62969},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","gitHead":"8f012b41fc805aa5df3a5f01130129bbeba8e45e","scripts":{"test":"rimraf coverage && jest --coverage","build":"rimraf dist && tsup","prepublishOnly":"npm run build"},"_npmUser":{"name":"driffel","email":"donriffel@gmail.com"},"_npmVersion":"10.2.4","description":"Log across Google Cloud (GCE VMs, Firebase Functions, etc.) using one library.","directories":{},"_nodeVersion":"18.19.1","dependencies":{"sync-fetch":"^0.5.2","@google-cloud/logging":"^11.0.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^8.0.1","rimraf":"^5.0.5","ts-jest":"^29.1.2","ts-node":"^10.9.2","typescript":"^5.3.3","@types/jest":"^29.5.12","@types/express":"^4.17.21","@types/sync-fetch":"^0.4.3"},"_npmOperationalInternal":{"tmp":"tmp/universal-google-logger_0.7.1_1712043568627_0.12825013420481945","host":"s3://npm-registry-packages"}},"0.8.0":{"name":"@driffel/universal-google-logger","version":"0.8.0","keywords":["google apis client","google api client","google apis","google api","google","google cloud platform","google cloud","cloud","google logging","logging","stackdriver logging","stackdriver"],"author":"","license":"MIT","_id":"@driffel/universal-google-logger@0.8.0","maintainers":[{"name":"driffel","email":"donriffel@gmail.com"}],"dist":{"shasum":"06863b8f9a7fc0ccee7ae64c56001b2d35519722","tarball":"https://registry.npmjs.org/@driffel/universal-google-logger/-/universal-google-logger-0.8.0.tgz","fileCount":9,"integrity":"sha512-1cE9Efu+Y6t33sC2DM9xBT1lDFFVQ5O6QTGI6S2kbvaa7jCcScGVCt6T1BVvW56hOnLGzvSNukH6sapAojQP5A==","signatures":[{"sig":"MEQCIG+4j73Opifyo0YkGK7B05/jEDJ7Yp2X32E4Ndjdj+aSAiBSmm+oGI8LJvS96pMYFdTz5z8ivmCFlUtFSQZcPOcwkA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":62023},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","gitHead":"8f012b41fc805aa5df3a5f01130129bbeba8e45e","scripts":{"test":"rimraf coverage && jest --coverage","build":"rimraf dist && tsup","prepublishOnly":"npm run build"},"_npmUser":{"name":"driffel","email":"donriffel@gmail.com"},"_npmVersion":"10.2.4","description":"Log across Google Cloud (GCE VMs, Firebase Functions, etc.) using one library.","directories":{},"_nodeVersion":"18.19.1","dependencies":{"sync-fetch":"^0.5.2","@google-cloud/logging":"^11.0.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^8.0.1","rimraf":"^5.0.5","ts-jest":"^29.1.2","ts-node":"^10.9.2","typescript":"^5.3.3","@types/jest":"^29.5.12","@types/express":"^4.17.21","@types/sync-fetch":"^0.4.3"},"_npmOperationalInternal":{"tmp":"tmp/universal-google-logger_0.8.0_1712127051579_0.8563030054737879","host":"s3://npm-registry-packages"}},"0.8.1":{"name":"@driffel/universal-google-logger","version":"0.8.1","keywords":["google apis client","google api client","google apis","google api","google","google cloud platform","google cloud","cloud","google logging","logging","stackdriver logging","stackdriver"],"author":"","license":"MIT","_id":"@driffel/universal-google-logger@0.8.1","maintainers":[{"name":"driffel","email":"donriffel@gmail.com"}],"dist":{"shasum":"57f9662891e4660ea161d6dd10212576ce917076","tarball":"https://registry.npmjs.org/@driffel/universal-google-logger/-/universal-google-logger-0.8.1.tgz","fileCount":9,"integrity":"sha512-cQ++t34+6OI/QwUBK7JRk7ceHewaXkDZxSmdotmtojNIxsH0QEedlsrh/cgKLOHYQ1Amh55HtzfeOy7JNKSrFA==","signatures":[{"sig":"MEQCIG5P50JxFTA1gsRaZzXAS2LAakdMqcPJrsbOK4vpnagOAiBjccdZt4dspLwtm5mP50D0I16qcDWU7fcNuH77wwCcPg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":62255},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","gitHead":"8f012b41fc805aa5df3a5f01130129bbeba8e45e","scripts":{"test":"rimraf coverage && jest --coverage","build":"rimraf dist && tsup","prepublishOnly":"npm run build"},"_npmUser":{"name":"driffel","email":"donriffel@gmail.com"},"_npmVersion":"10.2.4","description":"Log across Google Cloud (GCE VMs, Firebase Functions, etc.) using one library.","directories":{},"_nodeVersion":"18.19.1","dependencies":{"sync-fetch":"^0.5.2","@google-cloud/logging":"^11.0.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^8.0.1","rimraf":"^5.0.5","ts-jest":"^29.1.2","ts-node":"^10.9.2","typescript":"^5.3.3","@types/jest":"^29.5.12","@types/express":"^4.17.21","@types/sync-fetch":"^0.4.3"},"_npmOperationalInternal":{"tmp":"tmp/universal-google-logger_0.8.1_1712127741198_0.6633675619226032","host":"s3://npm-registry-packages"}},"0.8.2":{"name":"@driffel/universal-google-logger","version":"0.8.2","keywords":["google apis client","google api client","google apis","google api","google","google cloud platform","google cloud","cloud","google logging","logging","stackdriver logging","stackdriver"],"author":"","license":"MIT","_id":"@driffel/universal-google-logger@0.8.2","maintainers":[{"name":"driffel","email":"donriffel@gmail.com"}],"dist":{"shasum":"623a93d970b1ee3a2fb611419313f41307b56cad","tarball":"https://registry.npmjs.org/@driffel/universal-google-logger/-/universal-google-logger-0.8.2.tgz","fileCount":9,"integrity":"sha512-3kaSDk54Cltqu0k8HHTzS6DbxxK2l/a4BpC1JWTnZ8/Vnayl5mzFsgNazjJLdwOaOFrTqE2mlGcBT8ejRRffyg==","signatures":[{"sig":"MEQCIGv0usb+lm9jnwg2MpaWtbro7FerT+dD9147H6WHxs+lAiBBsI24wJbcJe23ENsxHDE4VMaejm7ztnNrKHLKTYZ57A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":63247},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","gitHead":"8f012b41fc805aa5df3a5f01130129bbeba8e45e","scripts":{"test":"rimraf coverage && jest --coverage","build":"rimraf dist && tsup","prepublishOnly":"npm run build"},"_npmUser":{"name":"driffel","email":"donriffel@gmail.com"},"_npmVersion":"10.2.4","description":"Log across Google Cloud (GCE VMs, Firebase Functions, etc.) using one library.","directories":{},"_nodeVersion":"18.19.1","dependencies":{"sync-fetch":"^0.5.2","@google-cloud/logging":"^11.0.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^8.0.1","rimraf":"^5.0.5","ts-jest":"^29.1.2","ts-node":"^10.9.2","typescript":"^5.3.3","@types/jest":"^29.5.12","@types/express":"^4.17.21","@types/sync-fetch":"^0.4.3"},"_npmOperationalInternal":{"tmp":"tmp/universal-google-logger_0.8.2_1712131319971_0.0910977095502652","host":"s3://npm-registry-packages"}},"0.8.3":{"name":"@driffel/universal-google-logger","version":"0.8.3","keywords":["google apis client","google api client","google apis","google api","google","google cloud platform","google cloud","cloud","google logging","logging","stackdriver logging","stackdriver"],"author":"","license":"MIT","_id":"@driffel/universal-google-logger@0.8.3","maintainers":[{"name":"driffel","email":"donriffel@gmail.com"}],"dist":{"shasum":"59bd7b2daf5066eff8c05f2257402979920bc38f","tarball":"https://registry.npmjs.org/@driffel/universal-google-logger/-/universal-google-logger-0.8.3.tgz","fileCount":9,"integrity":"sha512-jKNhOtM9Dz+l+TB5t3CnDFfNlC1rCL42PwMUQREc61+WG4UcT3ThB+NxqbRpBGeCHuq9RX01NLZQSi4UvYSzoA==","signatures":[{"sig":"MEUCIEmvS9I9ttpv3zfNkZjNgSDBJA2ulGX53yakNgAj/6ICAiEApouesQnEe5lzr7IuW3ydhMH5lLLLtCcqHjLjAlu9dc8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":62991},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","gitHead":"8f012b41fc805aa5df3a5f01130129bbeba8e45e","scripts":{"test":"rimraf coverage && jest --coverage","build":"rimraf dist && tsup","prepublishOnly":"npm run build"},"_npmUser":{"name":"driffel","email":"donriffel@gmail.com"},"_npmVersion":"10.2.4","description":"Log across Google Cloud (GCE VMs, Firebase Functions, etc.) using one library.","directories":{},"_nodeVersion":"18.19.1","dependencies":{"sync-fetch":"^0.5.2","@google-cloud/logging":"^11.0.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^8.0.1","rimraf":"^5.0.5","ts-jest":"^29.1.2","ts-node":"^10.9.2","typescript":"^5.3.3","@types/jest":"^29.5.12","@types/express":"^4.17.21","@types/sync-fetch":"^0.4.3"},"_npmOperationalInternal":{"tmp":"tmp/universal-google-logger_0.8.3_1712132881429_0.0999926945152061","host":"s3://npm-registry-packages"}},"0.8.5":{"name":"@driffel/universal-google-logger","version":"0.8.5","keywords":["google apis client","google api client","google apis","google api","google","google cloud platform","google cloud","cloud","google logging","logging","stackdriver logging","stackdriver"],"author":"","license":"MIT","_id":"@driffel/universal-google-logger@0.8.5","maintainers":[{"name":"driffel","email":"donriffel@gmail.com"}],"dist":{"shasum":"cc46d7da2427ead1d9173db39ac7bd1f19c9652b","tarball":"https://registry.npmjs.org/@driffel/universal-google-logger/-/universal-google-logger-0.8.5.tgz","fileCount":9,"integrity":"sha512-1aeBC50NVn4DG0SK7Wi4L8TQ8BnOMkm8x3lS1uExStEFmzMb+XH6XOq1YSTjK1HaqfKPzH+x8QJR/tVQ8E/wCw==","signatures":[{"sig":"MEUCIGDlk5fMyqmi9TzGR9y8jomWishAB6A33aa1gWcC3c16AiEArQooMu5XnvAMfya5jSVRugITS4KhQnn6SdMDJ1ZHG7s=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":66454},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","gitHead":"4e61dd7b6e0d2303c61f874241fd19d882f97115","scripts":{"test":"rimraf coverage && jest --coverage","build":"rimraf dist && tsup","prepublishOnly":"npm run build"},"_npmUser":{"name":"driffel","email":"donriffel@gmail.com"},"_npmVersion":"10.2.4","description":"Log across Google Cloud (GCE VMs, Firebase Functions, etc.) using one library.","directories":{},"_nodeVersion":"18.19.1","dependencies":{"sync-fetch":"^0.5.2","@google-cloud/logging":"^11.0.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^8.0.1","rimraf":"^5.0.5","ts-jest":"^29.1.2","ts-node":"^10.9.2","typescript":"^5.3.3","@types/jest":"^29.5.12","@types/express":"^4.17.21","@types/sync-fetch":"^0.4.3"},"_npmOperationalInternal":{"tmp":"tmp/universal-google-logger_0.8.5_1712905380340_0.779322718710032","host":"s3://npm-registry-packages"}},"0.8.6":{"name":"@driffel/universal-google-logger","version":"0.8.6","keywords":["google apis client","google api client","google apis","google api","google","google cloud platform","google cloud","cloud","google logging","logging","stackdriver logging","stackdriver"],"author":"","license":"MIT","_id":"@driffel/universal-google-logger@0.8.6","maintainers":[{"name":"driffel","email":"donriffel@gmail.com"}],"homepage":"https://github.com/djriffel/universal-google-logger#readme","bugs":{"url":"https://github.com/djriffel/universal-google-logger/issues"},"dist":{"shasum":"a39288a74776adc228dd112b6532d2884c7234f3","tarball":"https://registry.npmjs.org/@driffel/universal-google-logger/-/universal-google-logger-0.8.6.tgz","fileCount":9,"integrity":"sha512-2MhLUhjesdqp+yRCVmuC8k269NPq+0PtUtKB1GgGrDMR9DUkJx+egz0yb9WD2pc3cRAlHOfyEFiFrfUY2ka5FQ==","signatures":[{"sig":"MEUCIQCMigMYtQ6COIJkSn9OboNEluXjTtmR748X9rVS7+90mgIgHIKGd5ZZ3yJsb3Py1DS9hpoWTMqKXQxnuMnYw+PLDd0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":66522},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","gitHead":"cbc3e21b40a536c737f0d1db78ffcfc3110f578a","scripts":{"test":"rimraf coverage && jest --coverage","build":"rimraf dist && tsup","prepublishOnly":"npm run build"},"_npmUser":{"name":"driffel","email":"donriffel@gmail.com"},"repository":{"url":"git+https://github.com/djriffel/universal-google-logger.git","type":"git"},"_npmVersion":"10.2.4","description":"Log across Google Cloud (GCE VMs, Firebase Functions, etc.) using one library.","directories":{},"_nodeVersion":"18.19.1","dependencies":{"sync-fetch":"^0.5.2","@google-cloud/logging":"^11.0.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^8.0.1","rimraf":"^5.0.5","ts-jest":"^29.1.2","ts-node":"^10.9.2","typescript":"^5.3.3","@types/jest":"^29.5.12","@types/express":"^4.17.21","@types/sync-fetch":"^0.4.3"},"_npmOperationalInternal":{"tmp":"tmp/universal-google-logger_0.8.6_1712906381662_0.18536407092378115","host":"s3://npm-registry-packages"}},"0.8.7":{"name":"@driffel/universal-google-logger","version":"0.8.7","description":"Log across Google Cloud (GCE VMs, Firebase Functions, etc.) using one library.","main":"./dist/index.js","module":"./dist/index.mjs","types":"./dist/index.d.ts","repository":{"type":"git","url":"git+https://github.com/djriffel/universal-google-logger.git"},"scripts":{"test":"rimraf coverage && jest --coverage","build":"rimraf dist && tsup && tsc-alias","prepublishOnly":"npm run build"},"keywords":["google apis client","google api client","google apis","google api","google","google cloud platform","google cloud","cloud","google logging","logging","stackdriver logging","stackdriver"],"author":"","license":"MIT","devDependencies":{"@types/express":"^4.17.21","@types/jest":"^29.5.12","@types/sync-fetch":"^0.4.3","jest":"^29.7.0","rimraf":"^5.0.5","ts-jest":"^29.1.2","ts-node":"^10.9.2","tsc-alias":"^1.8.10","tsup":"^8.0.1","typescript":"^5.3.3"},"dependencies":{"@google-cloud/logging":"^11.0.0","sync-fetch":"^0.5.2"},"_id":"@driffel/universal-google-logger@0.8.7","gitHead":"41dd78187dec831f6aec1c8fc3c06fd7790258c9","bugs":{"url":"https://github.com/djriffel/universal-google-logger/issues"},"homepage":"https://github.com/djriffel/universal-google-logger#readme","_nodeVersion":"18.19.1","_npmVersion":"10.2.4","dist":{"integrity":"sha512-U3GEpSwTOqHAB3uW0gH11IjTiU9I63/vpL5L0J1ZaLA8rv3ZgYegfBSZWYoQY4igeQYQMZUk+bEc6Si2i2a0Vw==","shasum":"6db4d28240ae9944536f2a3ac4238ab037c80239","tarball":"https://registry.npmjs.org/@driffel/universal-google-logger/-/universal-google-logger-0.8.7.tgz","fileCount":9,"unpackedSize":66950,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCiZJIf7P0Txazhei3U09w5iDT82mbHzqwnzaMZXGmCzAIgRVAe3/lim+YMEz28pDJLHIuamoNMTsfHDWKVzrqjJ5o="}]},"_npmUser":{"name":"driffel","email":"donriffel@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/universal-google-logger_0.8.7_1719015309340_0.4816226732670814"},"_hasShrinkwrap":false}},"time":{"created":"2024-02-16T00:35:30.558Z","modified":"2024-06-22T00:15:09.691Z","0.5.0":"2024-02-16T00:35:30.729Z","0.6.0":"2024-02-17T09:18:40.629Z","0.6.1":"2024-02-17T10:43:04.046Z","0.6.2":"2024-02-17T10:48:27.326Z","0.6.3":"2024-02-17T10:52:32.628Z","0.6.4":"2024-02-17T10:56:56.704Z","0.6.5":"2024-02-17T11:03:29.738Z","0.6.6":"2024-02-17T11:05:30.879Z","0.6.7":"2024-02-17T11:06:44.712Z","0.7.0":"2024-04-02T05:50:49.843Z","0.7.1":"2024-04-02T07:39:28.799Z","0.8.0":"2024-04-03T06:50:51.756Z","0.8.1":"2024-04-03T07:02:21.415Z","0.8.2":"2024-04-03T08:02:00.125Z","0.8.3":"2024-04-03T08:28:01.573Z","0.8.5":"2024-04-12T07:03:00.540Z","0.8.6":"2024-04-12T07:19:41.860Z","0.8.7":"2024-06-22T00:15:09.521Z"},"maintainers":[{"name":"driffel","email":"donriffel@gmail.com"}],"repository":{"type":"git","url":"git+https://github.com/djriffel/universal-google-logger.git"},"keywords":["google apis client","google api client","google apis","google api","google","google cloud platform","google cloud","cloud","google logging","logging","stackdriver logging","stackdriver"],"license":"MIT","homepage":"https://github.com/djriffel/universal-google-logger#readme","bugs":{"url":"https://github.com/djriffel/universal-google-logger/issues"},"readme":"[![codecov](https://codecov.io/github/djriffel/universal-google-logger/graph/badge.svg?token=6P1LT9RYIN)](https://codecov.io/github/djriffel/universal-google-logger)\r\n\r\n# Universal Google Logger\r\n\r\nUse the same library to log across GCE VMs, Firebase Functions, etc.\r\n\r\nMakes sharing common code across environments easier.\r\n\r\n## Usage:\r\n\r\n### Configuration\r\n\r\n[View optional env configs](#environment-variable-configs-all-optional)\r\n\r\n### Code\r\n\r\n#### Usage with default logger instance:\r\n\r\n```javascript\r\n/**\r\n * Import method directly from default logger instance.\r\n *\r\n * Available methods:\r\n * log, debug, info, notice, warning, error, critical, alert, emergency\r\n *\r\n * You can also import the full default logger instance via the `logger` export.\r\n */\r\nimport { info } from \"@driffel/universal-google-logger\";\r\n\r\ninfo(\"Text payload\");\r\ninfo({ someField: \"JSON payload\" });\r\n\r\n// Use the second optional parameter to add custom metadata\r\ninfo(\r\n  { someField: \"JSON payload\" },\r\n  { labels: { someLabel: \"My custom label\" } }\r\n);\r\n```\r\n\r\n#### Usage with custom instance:\r\n\r\n```javascript\r\nimport { UniversalGoogleLogger } from \"@driffel/universal-google-logger\";\r\n\r\nconst customLogger = new UniversalGoogleLogger(\"Custom logger name\");\r\n\r\ncustomLogger.info(\"Text payload\");\r\ncustomLogger.info({ someField: \"JSON payload\" });\r\n```\r\n\r\n#### Usage with trace-aware Express middleware:\r\n\r\n```javascript\r\nimport { attachContextWithTraceState } from \"@driffel/universal-google-logger\";\r\n\r\n/**\r\n * This injects the trace ID found in the Google-provided\r\n * `x-cloud-trace-context` HTTP header, which will then be automatically\r\n * included in every log entry's `trace` metadata field for that request.\r\n */\r\nconst app = express().use(\r\n  attachContextWithTraceState({ rethrowExceptions: false })\r\n);\r\n```\r\n\r\n### Default metadata label:\r\n\r\nFor improved context, the metadata will automatically include a label named `node_app_version` that is set from `process.env.npm_package_version`. This is auto-populated from the `package.json`'s `version` field whenever running the task through the `npm start` command.\r\n\r\n### Advisory:\r\n\r\nThis library is not fully tested for all possible environment permutations. It is an MVP (minimum viable product) that has been tested under standard GCE VMs, as well as Firebase Functions (v2) configured under a Cloud Run-based deployment. It _should_ work in various other enviroments, but feedback as well as PR's are welcome (also feel free to inform if any configs, etc. are inaccurate; this is the culmination of a \"best effort\" in bringing together multiple info sources of varying age).\r\n\r\n## Problem Statement:\r\n\r\nWhen logging in Firebase/Google Cloud, you have three options, but none of them fulfill all requirements of propagating the correct metadata and log severity levels across environments. This makes developing for shared code across environments difficult when it comes to logging.\r\n\r\n- **`console.log` / warn / error / etc...** \\\r\n  Propagates entries to Logs Explorer and sets the correct metadata fields for discovery using default filters from a function or VM, but does not properly embed the correct severity based on the console method called.\r\n\r\n- **`@google-cloud/logging` library** \\\r\n  Generally considered the more modern and preferred approach to logging. Works well with handling metadata and severity level in GCE VM environments, but does not populate most of the metadata when in Firebase Function environments, making log discovery difficult.\r\n\r\n- **`firebase-functions/logger` library** \\\r\n  Works well with all required metadata and appropriate severity levels, but only works for Firebase Functions.\r\n\r\n## Solution:\r\n\r\nThis library wraps functionality of the `@google-cloud/logging` library and fills gaps in the metadata wherever available from google-provided environent variables or, if needed, the metadata server. It also propagates the correct severity levels, since it leverages google's logging library directly.\r\n\r\nThere are also helper functions for including the `trace` metadata field which enables the \"Show entries for this trace\" feature that groups entries in the Logs Explorer. This is done by leveraging [AsyncLocalStorage](https://nodejs.org/api/async_context.html#class-asynclocalstorage) to retain trace state through the call stack.\r\n\r\n### Environment variable configs (all optional):\r\n\r\n- `LOGGER_NAME`: Used to set a name for the default logger instance for easier discovery. Default value: \"node-app\". This value will be attached to the `logName` metadata field.\r\n- `PROJECT_STRING_ID`: Used to populate the `projectId` parameter of the Logging service in @google-cloud/logging library. This parameter is often provided through built-in env vars, or as a last resort from the metadata server (if using a GCE VM environment).\r\n- `FUNCTION_REGION`: Used to populate the region/location field in Firebase Function logs. Default value: \"us-central1\".\r\n- `LOG_TO_CONSOLE`: Set this to \"true\" to route logs to console.log instead of using google logging library. Useful for localhost/dev logging.\r\n\r\n#### Note regarding `process.env` values:\r\n\r\nTo ensure deterministic behavior, all environment variables are loaded only once and then cached, upon first import, to prevent potentially inconsistent configuration due to something like a delayed dotenv config call.\r\n\r\n#### Note regarding metadata server request:\r\n\r\nA single **synchronous** (aka: blocking) API call, if necessary, is made in the very beginning upon file import. This is to load the project ID in the event that it's not provided by an expected environment variable (`PROJECT_STRING_ID`, `GCLOUD_PROJECT`, or `GOOGLE_CLOUD_PROJECT`).\r\n\r\nAlthough blocking requests are typically considered poor practice, this was preferred to the complexity of guaranteeing the needed field is loaded asynchronously before it's first used. It should not cause any perfomance issues, as it only blocks a single time, in the very beginning on initial file import. This call can be entirely avoided as well, by manually populating the `PROJECT_STRING_ID` environment variable.\r\n","readmeFilename":"README.md"}