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

Function CleanZinxLog

zlog/logger_core.go:115–117  ·  view source on GitHub ↗

CleanZinxLog Recycle log resources

(log *ZinxLoggerCore)

Source from the content-addressed store, hash-verified

113
114// CleanZinxLog Recycle log resources
115func CleanZinxLog(log *ZinxLoggerCore) {
116 log.closeFile()
117}
118
119func (log *ZinxLoggerCore) SetLogHook(f func([]byte)) {
120 log.onLogHook = f

Callers

nothing calls this directly

Calls 1

closeFileMethod · 0.80

Tested by

no test coverage detected