Skip to content

Commit

Permalink
Rename
Browse files Browse the repository at this point in the history
  • Loading branch information
pellared committed Sep 19, 2024
1 parent 4964d92 commit d6aa31b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sdk/log/multi.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ type multiLoggerProvider struct {
noCmp [0]func() //nolint: unused // This is indeed used.
}

// NewMultiLoggerProvider returns a composite (fan-out) provider.
// MultiLoggerProvider returns a composite (fan-out) provider.
// It duplicates its calls to all the provided providers.
// It can be used to set up multiple processing pipelines.
// For instance, you can have separate providers for OTel events
// and application logs.
func NewMultiLoggerProvider(providers ...log.LoggerProvider) log.LoggerProvider {
func MultiLoggerProvider(providers ...log.LoggerProvider) log.LoggerProvider {
return &multiLoggerProvider{
providers: providers,
}
Expand Down

0 comments on commit d6aa31b

Please sign in to comment.