1
0
mirror of https://github.com/renbaoshuo/UOJ-Luogu-RemoteJudge.git synced 2024-12-29 00:31:59 +00:00
UOJ-Luogu-RemoteJudge/luogu_remote_judger/utils/logger.js

12 lines
224 B
JavaScript
Raw Normal View History

2023-03-21 11:14:43 +00:00
import Logger from 'reggol';
Logger.levels.base = process.env.DEV ? 3 : 2;
Logger.targets[0].showTime = 'dd hh:mm:ss';
Logger.targets[0].label = {
align: 'right',
width: 9,
margin: 1,
};
export default Logger;