Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // LogSavePath 文件保存路径 LogSavePath = "runtime/logs/" // LogSaveName 文件保存名称 LogSaveName = "log" // LogFileExt 文件后缀名 LogFileExt = "log" // TimeFormat 时间格式化形式 TimeFormat = "20060102" // "20200424" -> 这种形式出来的日期格式不对 )
View Source
var ( // F 文件句柄 F *os.File // DefaultPrefix 默认前缀 DefaultPrefix = "" // DefaultCallerDepth 默认层级 DefaultCallerDepth = 2 )
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.