import { LoggingWinston } from '@google-cloud/logging-winston' ; import * as winston from 'winston' ; export const Logger = winston . createLogger ( { level : 'info' , transports : [ new winston . transports . Console ( ) , new LoggingWinston ( ) , ] , } ) ;