1 Star 0 Fork 185

james/lucky-lottery

forked from dungang/lucky-lottery 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
log.js 479 Bytes
一键复制 编辑 原始数据 按行查看 历史
"use strict";
var log4js = require('log4js');
log4js.configure({
"appenders": {
cheese: {
"type": "file",
"filename": __dirname + "/log/log.txt"
}
},
categories: {
default: {
appenders: ['cheese'],
level: 'info'
}
},
"replaceConsole": true,
});
//log4js.loadAppender('file');
var logger = log4js.getLogger('cheese');
module.exports = {
logger: logger
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/jamesyhl/lucky-lottery.git
[email protected]:jamesyhl/lucky-lottery.git
jamesyhl
lucky-lottery
lucky-lottery
master

搜索帮助