MCPcopy Index your code
hub / github.com/aceld/zinx / SetLogFile

Function SetLogFile

zlog/stdzlog.go:48–50  ·  view source on GitHub ↗

SetLogFile sets the log file of StdZinxLog

(fileDir string, fileName string)

Source from the content-addressed store, hash-verified

46
47// SetLogFile sets the log file of StdZinxLog
48func SetLogFile(fileDir string, fileName string) {
49 StdZinxLog.SetLogFile(fileDir, fileName)
50}
51
52// SetMaxAge 最大保留天数
53func SetMaxAge(ma int) {

Callers 3

TestStdZLogFunction · 0.92
InitLogConfigMethod · 0.92
UserConfToGlobalFunction · 0.92

Calls 1

SetLogFileMethod · 0.80

Tested by 1

TestStdZLogFunction · 0.74