预配置的Winston记录器 源码
@ bookmate / preconfigured-winston-logger 概括 Winston记录器的通用配置 用法 const { getPreconfiguredLogger } = require ( '@bookmate/preconfigured-winston-logger' ) ; const env = require ( 'env' ) ; // a custom environment information manager const logger = getPreconfiguredLogger ( { environment : env . getEnvironment ( ) } ) ; getPreconfiguredLogger的选项 可选的environment - production或development requestIdGette
用户评论