Skip to content

Commit

Permalink
Update example test names
Browse files Browse the repository at this point in the history
  • Loading branch information
pellared committed Sep 18, 2024
1 parent f8501ab commit bbbdc97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sdk/log/example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func Example() {
}

// Use a filterer that filters out records based on the provided context.
func ExampleProcessor_filtering() {
func ExampleFilterer() {
// Existing processor that emits telemetry.
processor := log.NewBatchProcessor(nil)

Expand Down Expand Up @@ -88,7 +88,7 @@ func (p *ContextFilterer) Filter(ctx context.Context, param log.FilterParameters
}

// Use a processor which redacts sensitive data from some attributes.
func ExampleProcessor_redact() {
func ExampleProcessor() {
// Existing processor that emits telemetry.
processor := log.NewBatchProcessor(nil)

Expand Down

0 comments on commit bbbdc97

Please sign in to comment.