We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eaae2d4 commit e016fabCopy full SHA for e016fab
src/testing/slogtest/slogtest.go
@@ -36,6 +36,7 @@ type testCase struct {
36
//
37
// TestHandler installs the given Handler in a [slog.Logger] and
38
// makes several calls to the Logger's output methods.
39
+// The Handler should be enabled for levels Info and above.
40
41
// The results function is invoked after all such calls.
42
// It should return a slice of map[string]any, one for each call to a Logger output method.
0 commit comments