Documentation ¶
Index ¶
Constants ¶
View Source
const ( DEBUG = iota INFO WARNING ERROR FATAL )
Variables ¶
View Source
var ( DBLogSavePath = "runtime/db_logs/" // log文件所在的目录 DBLogSaveName = "db_log" // log文件名 DBLogFileExt = "log" // log文件后缀 DBTimeFormat = "20060102" // 时间格式(日期格式) )
View Source
var ( LogSavePath = "runtime/logs/" // log文件所在的目录 LogSaveName = "log" // log文件名 LogFileExt = "log" // log文件后缀 TimeFormat = "20060102" // 时间格式(日期格式) )
View Source
var ( F *os.File DefaultCallerDepth = 2 )
Functions ¶
func OpenDBLogFile ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.