MCPcopy Create free account
hub / github.com/PasarGuard/node / Close

Method Close

logger/logger.go:98–110  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

96}
97
98func (l *Logger) Close() {
99 l.mu.Lock()
100 defer l.mu.Unlock()
101
102 if l.accessLogFile != nil {
103 l.accessLogFile.Close()
104 l.accessLogFile = nil
105 }
106 if l.errorLogFile != nil {
107 l.errorLogFile.Close()
108 l.errorLogFile = nil
109 }
110}

Callers

nothing calls this directly

Calls 1

CloseMethod · 0.65

Tested by

no test coverage detected