va-logger-be

![alt text](https://drive.google.com/file/d/1hlaq6r9ax9-VFXk0mj5rR-DpqMFG2NUn/view?usp=sharingg)

Usage no npm install needed!

<script type="module">
  import vaLoggerBe from 'https://cdn.skypack.dev/va-logger-be';
</script>

README

va-logger-be for Cloud Function

Installation

  npm i @wesalute/valogger-be@latest

Usage

  1. In the Cloud Function, please add at the top of the function, passing the 'req' or HTTPRequest variable.
   require('va-logger-be').init(req)

Example:

How to auto-include User and App context in Cloud Function?

Step 1: Add npm module in package.json

Alt Step1

Step 2: Add the one liner code in index.js

Alt Step2