diff --git a/electron/config/config.default.js b/electron/config/config.default.js index 711033d..0a5a829 100644 --- a/electron/config/config.default.js +++ b/electron/config/config.default.js @@ -1,6 +1,5 @@ 'use strict'; -const dayjs = require('dayjs'); const path = require('path'); /** @@ -65,8 +64,15 @@ module.exports = (appInfo) => { * ee框架日志 */ config.logger = { - appLogName: `ee-${dayjs().format('YYYY-MM-DD')}.log`, - errorLogName: `ee-error-${dayjs().format('YYYY-MM-DD')}.log` + encoding: 'utf8', + level: 'INFO', + outputJSON: false, + buffer: true, + enablePerformanceTimer: false, + rotator: 'day', + appLogName: 'ee.log', + coreLogName: 'ee-core.log', + errorLogName: 'ee-error.log' } /** diff --git a/package.json b/package.json index 7642631..a55cf7a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ee", - "version": "3.1.0", + "version": "3.2.0", "description": "A fast, desktop software development framework", "main": "main.js", "scripts": {