0.0.2 • Published 5 months ago

pino-gcp-logger-adapter v0.0.2

Weekly downloads
-
License
ISC
Repository
github
Last release
5 months ago

Pino logger for GCP

Official documentation can be found here.

Usage

npm install pino-gcp-logger
import { createLogger, logLevel } from 'pino-gcp-logger';

const defaultLevel: logLevel = 'info';
const isGCP = true;
const logger = createLogger(defaultLevel, isGCP);
logger.info('Hello world', { extra: 'data' });
0.0.2

5 months ago

0.0.1

5 months ago