grokify/mogo

View on GitHub
log/slogutil/slogutil.go

Summary

Maintainability
A
1 hr
Test Coverage

Function LogOrNot has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

func LogOrNot(ctx context.Context, logger *slog.Logger, level slog.Level, msg string, attrs ...slog.Attr) {
Severity: Minor
Found in log/slogutil/slogutil.go - About 35 mins to fix

    Function LogOrNotAny has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

    func LogOrNotAny(ctx context.Context, logger *slog.Logger, level slog.Level, msg string, args ...any) {
    Severity: Minor
    Found in log/slogutil/slogutil.go - About 35 mins to fix

      There are no issues that match your filters.

      Category
      Status