摘要:
logger.ts // .env LOGGER_LEVEL=debug // logger.ts import * as winston from "winston"; export const logger = winston.createLogger({ level: process.env. 阅读全文
posted @ 2023-04-26 15:47
Zhentiw
阅读(21)
评论(0)
推荐(0)
摘要:
import * as dotenv from "dotenv"; const result = dotenv.config(); if (result.error) { console.log('Error loading environment variables, aborting.') pr 阅读全文
posted @ 2023-04-26 15:35
Zhentiw
阅读(25)
评论(0)
推荐(0)
摘要:
Check the adapter pattern https://www.tutorialspoint.com/design_pattern/adapter_pattern.htm Client: Call the common entry public class AdapterPatternD 阅读全文
posted @ 2023-04-26 02:38
Zhentiw
阅读(19)
评论(0)
推荐(0)

浙公网安备 33010602011771号