MCPcopy
hub / github.com/CodisLabs/codis / Close

Method Close

pkg/utils/log/log.go:181–185  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

179}
180
181func (l *Logger) Close() {
182 l.mu.Lock()
183 defer l.mu.Unlock()
184 l.out.Close()
185}
186
187func (l *Logger) isDisabled(t LogType) bool {
188 return t != TYPE_PANIC && !l.level.Test(t)

Callers

nothing calls this directly

Calls 1

CloseMethod · 0.65

Tested by

no test coverage detected