MCPcopy Create free account
hub / github.com/foxcpp/maddy / Close

Method Close

framework/log/log.go:209–215  ·  view source on GitHub ↗

Close closes underlying output in Out.

()

Source from the content-addressed store, hash-verified

207
208// Close closes underlying output in Out.
209func (l *Logger) Close() error {
210 if l.Out == nil {
211 return nil
212 }
213
214 return l.Out.Close()
215}
216
217// DebugWriter returns a writer that will act like Logger.Write
218// but will use debug flag on messages. If Logger.Debug is false,

Callers

nothing calls this directly

Calls 1

CloseMethod · 0.65

Tested by

no test coverage detected