Skip to content

guillenotfound/pino-gcp-logger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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' });

About

Logging working on GCP without effort.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published