]> Cypherpunks repositories - gostls13.git/commit
log/slog: rearrange package doc
authorJonathan Amsterdam <jba@google.com>
Sun, 23 Apr 2023 15:06:34 +0000 (11:06 -0400)
committerJonathan Amsterdam <jba@google.com>
Thu, 4 May 2023 19:53:26 +0000 (19:53 +0000)
commitae59562c71efa4bb5a537d7ee0f64417a8a7272d
treeffc9391acdf7da082c2573aeafae93111b14d188
parent2f5f231ac12af61b43d508f46ebe10cf0ebe2730
log/slog: rearrange package doc

Move the "Attrs and Values" section lower. It describes an optimization;
the API it covers is not essential.

Also, move the brief section on Logger.With up to the first section.
It was in the "Groups" section but didn't belong there.

Change-Id: I0e36ef654e95f918d5b480566ec58d9990d26b40
Reviewed-on: https://go-review.googlesource.com/c/go/+/487856
Reviewed-by: Alan Donovan <adonovan@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Jonathan Amsterdam <jba@google.com>
src/log/slog/doc.go