GCP logging for nodeJS
Based on the idea of mr-pascal/nestjs-gcp-logging without nestjs
references.
Motivation
Google suggests to use Bunyan or Winston as logging
framework for nodeJS. This module is a more lightweight approach and utilizes the structured logging format
via normal stdout, so GCP parses the log information correctly.

Usage
import Logger from '@philsch/gcp-logging';
import {Severity} from '@philsch/gcp-logging';
Logger.init();
Logger.log("Info message");
Logger.warn("Warning message");
Logger.error("Error message");
Logger.log("This is an emergency", Severity.EMERGENCY);
Logger.error(new Error("Report this in Error Reporting"));