FPM-PLUGIN-LOGGER 用于输出日志的插件 Install yarn add fpm-plugin-logger Useage config in config.json { //... log4js:{ appenders: { app: { type: 'dateFile', filename: 'logs/app.log', pattern: '.yyyy-MM-dd-hh', compress: true } }, categories: { default: { appenders: [ 'app' ], level: 'error'} } } //... }