MCPcopy
hub / github.com/aceld/zinx / SetPrefix

Function SetPrefix

zlog/stdzlog.go:43–45  ·  view source on GitHub ↗

SetPrefix sets the log prefix of StdZinxLog

(prefix string)

Source from the content-addressed store, hash-verified

41
42// SetPrefix sets the log prefix of StdZinxLog
43func SetPrefix(prefix string) {
44 StdZinxLog.SetPrefix(prefix)
45}
46
47// SetLogFile sets the log file of StdZinxLog
48func SetLogFile(fileDir string, fileName string) {

Callers 1

TestStdZLogFunction · 0.92

Calls 1

SetPrefixMethod · 0.80

Tested by 1

TestStdZLogFunction · 0.74