Skip to content

Commit

Permalink
entry related comment linter issue resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
Madhur committed Dec 7, 2024
1 parent 4859555 commit f9b398f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pkg/log/entry.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"github.com/gomods/athens/pkg/errors"
)

// Logger handles basic logging operations.
// LogOps handles basic logging operations.
type LogOps interface {
// Debug logs a debug message.
Debug(args ...interface{})
Expand Down Expand Up @@ -59,8 +59,7 @@ type FormattedLogOps interface {
Printf(format string, args ...interface{})
}

// Entry is a contextual logger that can be used to log messages with additional
// fields.
// ContextualLogOps is a contextual logger that can be used to log messages with additional fields.
type ContextualLogOps interface {
// WithFields returns a new Entry with the provided fields added.
WithFields(fields map[string]any) Entry
Expand Down

0 comments on commit f9b398f

Please sign in to comment.