issues
search
aishenhaowe
/
futurecity
The project for future city
BSD 2-Clause "Simplified" License
5
stars
5
forks
source link
[SV]:创建日志系统
#23
Open
hipsonlee
opened
7 years ago
hipsonlee
commented
7 years ago
创建一个可配置的日志系统
aishenhaowe
commented
7 years ago
保存日志的格式暂时定为如下: [y/m/d:hour:minites:seconds][Sever-Name]xxxxxxxx(详细的一行日志的信息)
日志的文件名规则暂时定为: 1)一天保存一份LOG(需要可配置) 2)日志暂时存放在data/futurecity/log下
日志的目录存储规则为一年一个目录(需要可配置)
需要实现重定向功能,目前只提供显示在终端下和打印到文件中这两种方式
创建一个可配置的日志系统