Files
log/handler/otel/logger.go
andrey 57a908f894
All checks were successful
continuous-integration/drone/tag Build is passing
continuous-integration/drone/push Build is passing
add bracket format (#15)
Reviewed-on: #15
Co-authored-by: andrey <andrey@4devs.io>
Co-committed-by: andrey <andrey@4devs.io>
2024-01-03 21:35:21 +03:00

18 lines
258 B
Go

package otel
import (
"context"
"gitoa.ru/go-4devs/log"
"gitoa.ru/go-4devs/log/entry"
)
// Deprecated: delete after 0.7.0
func New() log.Logger {
return func(ctx context.Context, e *entry.Entry) (int, error) {
addEvent(ctx, e)
return 0, nil
}
}