You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Personally I would add channel closing function to Close method, but comment says it explicitly close current file, not logger (which btw a bit misleading)
// Close implements io.Closer, and closes the current logfile.func (l*Logger) Close() error {
l.mu.Lock()
deferl.mu.Unlock()
ifl.millCh!=nil {
close(l.millCh)
l.millCh=nil
}
returnl.close()
}
Close command on logger does not close
mill
goroutineReproducer:
Then press Ctrl-4 (or use pprof to get all stacks)
The text was updated successfully, but these errors were encountered: