Skip to content

Commit

Permalink
Update config/log.go
Browse files Browse the repository at this point in the history
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
  • Loading branch information
codeboten and MrAlias committed May 15, 2024
1 parent 90e4518 commit 101d558
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/log.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ func loggerProvider(cfg configOptions, res *resource.Resource) (log.LoggerProvid
return noop.NewLoggerProvider(), noopShutdown, errors.Join(errs...)
}

mp := sdklog.NewLoggerProvider(opts...)
return mp, mp.Shutdown, nil
lp := sdklog.NewLoggerProvider(opts...)
return lp, lp.Shutdown, nil
}

func logProcessor(ctx context.Context, processor LogRecordProcessor) (sdklog.Processor, error) {
Expand Down

0 comments on commit 101d558

Please sign in to comment.