Skip to content

Commit

Permalink
logger: fix data race in tests (#5999)
Browse files Browse the repository at this point in the history
  • Loading branch information
algorandskiy authored May 14, 2024
1 parent 5ac3edc commit 299b309
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion logging/log.go
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ func (l logger) SetOutput(w io.Writer) {
}

func (l logger) setOutput(w io.Writer) {
l.entry.Logger.Out = w
l.entry.Logger.SetOutput(w)
}

func (l logger) getOutput() io.Writer {
Expand Down

0 comments on commit 299b309

Please sign in to comment.