Change information
Commit message:
log/slog: use B.Loop to simplify the code
Simplify the code and remove some unnecessary calls of ResetTimer.
Updates #61515
Change-Id: Ifbcd8deb1aa818b3ee190dab537250ba15b4cdc0
GitHub-Last-Rev: 397c230a35d928e9c22ab8ead354e2c73ea8b98c
GitHub-Pull-Request: golang/go#77592
Files:
- M src/log/slog/handler_test.go
- M src/log/slog/json_handler_test.go
- M src/log/slog/level_test.go
- M src/log/slog/value_access_benchmark_test.go
- M src/log/slog/value_test.go
Change size: S
Delta: 5 files changed, 5 insertions(+), 11 deletions(-)
Branch: refs/heads/master
Submit Requirements:
Code-Review: +2 by Jonathan Amsterdam, +1 by David Chase
TryBots-Pass: LUCI-TryBot-Result+1 by Go LUCI