Skip to content

Commit

Permalink
Update internal/shared/logutil/convert.go.tmpl
Browse files Browse the repository at this point in the history
Co-authored-by: Robert Pająk <[email protected]>
  • Loading branch information
m1heng and pellared authored Oct 14, 2024
1 parent 9bca788 commit fa5f4ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/shared/logutil/convert.go.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ import (
"go.opentelemetry.io/otel/log"
)

// Convert various types to log.Value.
func ConvertValue(v any) log.Value {
// convertValue converts various types to log.Value.
func convertValue(v any) log.Value {
// Handling the most common types without reflect is a small perf win.
switch val := v.(type) {
case bool:
Expand Down

0 comments on commit fa5f4ff

Please sign in to comment.