MCPcopy Create free account
hub / github.com/DNAProject/DNA / ClosePrintLog

Function ClosePrintLog

common/log/log.go:402–408  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

400}
401
402func ClosePrintLog() error {
403 var err error
404 if Log.logFile != nil {
405 err = Log.logFile.Close()
406 }
407 return err
408}

Callers 2

TestLogFunction · 0.85
TestNewLogFileFunction · 0.85

Calls 1

CloseMethod · 0.65

Tested by 2

TestLogFunction · 0.68
TestNewLogFileFunction · 0.68