Skip to content

Commit

Permalink
Merge branch 'main' into sdklogtest-3
Browse files Browse the repository at this point in the history
  • Loading branch information
pellared authored Apr 23, 2024
2 parents 6e2ff4e + baeb560 commit 45902d9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sdk/log/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ func (p *LoggerProvider) Logger(name string, opts ...log.LoggerOption) log.Logge
return l
}

// Shutdown flushes queued log records and shuts down the decorated expoter.
// Shutdown shuts down the provider and all processors.
//
// This method can be called concurrently.
func (p *LoggerProvider) Shutdown(ctx context.Context) error {
Expand All @@ -145,9 +145,9 @@ func (p *LoggerProvider) Shutdown(ctx context.Context) error {
return err
}

// ForceFlush flushes all exporters.
// ForceFlush flushes all processors.
//
// This method can be called concurrently.
// This method can be called concurrently.
func (p *LoggerProvider) ForceFlush(ctx context.Context) error {
if p.stopped.Load() {
return nil
Expand Down

0 comments on commit 45902d9

Please sign in to comment.