Skip to content

Commit

Permalink
Add debug print
Browse files Browse the repository at this point in the history
  • Loading branch information
pbitty committed Sep 26, 2024
1 parent e619bad commit e4c4b0c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions task_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ type SyncBuffer struct {
func (sb *SyncBuffer) Write(p []byte) (n int, err error) {
sb.mu.Lock()
defer sb.mu.Unlock()
fmt.Fprintln(os.Stderr, "len:", len(p))
return sb.buf.Write(p)
}

Expand Down

0 comments on commit e4c4b0c

Please sign in to comment.