wasilak/otelgo

View on GitHub
logs/logs.go

Summary

Maintainability
A
35 mins
Test Coverage

Function Init has 5 return statements (exceeds 4 allowed).
Open

func Init(ctx context.Context, config OtelGoLogsConfig) (context.Context, *sdk.LoggerProvider, error) {
    err := mergo.Merge(&defaultConfig, config, mergo.WithOverride)
    if err != nil {
        return ctx, nil, err
    }
Severity: Major
Found in logs/logs.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status