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

Method closeFile

zlog/logger_core.go:419–423  ·  view source on GitHub ↗

Close the file associated with the log (关闭日志绑定的文件)

()

Source from the content-addressed store, hash-verified

417// Close the file associated with the log
418// (关闭日志绑定的文件)
419func (log *ZinxLoggerCore) closeFile() {
420 if log.fw != nil {
421 log.fw.Close()
422 }
423}
424
425func (log *ZinxLoggerCore) SetLogLevel(logLevel int) {
426 log.isolationLevel = logLevel

Callers 1

CleanZinxLogFunction · 0.80

Calls 1

CloseMethod · 0.80

Tested by

no test coverage detected