update opentelemetry version (#6)
Co-authored-by: andrey1s <andrey@4devs.pro> Reviewed-on: #6 Co-authored-by: andrey <andrey@4devs.io> Co-committed-by: andrey <andrey@4devs.io>
This commit was merged in pull request #6.
This commit is contained in:
@@ -4,7 +4,7 @@ import (
|
||||
"context"
|
||||
"errors"
|
||||
"fmt"
|
||||
"io/ioutil"
|
||||
"io"
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
@@ -12,7 +12,7 @@ import (
|
||||
"gitoa.ru/go-4devs/log/field"
|
||||
)
|
||||
|
||||
// nolint: gochecknoglobals
|
||||
//nolint:gochecknoglobals
|
||||
var (
|
||||
errExample = errors.New("fail")
|
||||
_messages = fakeMessages(1000)
|
||||
@@ -118,7 +118,7 @@ func fakeSugarFields() []interface{} {
|
||||
}
|
||||
|
||||
func NewLogger() log.Logger {
|
||||
return log.New(log.WithWriter(ioutil.Discard))
|
||||
return log.New(log.WithWriter(io.Discard))
|
||||
}
|
||||
|
||||
func BenchmarkDisabledWithoutFields(b *testing.B) {
|
||||
|
||||
Reference in New Issue
Block a user