Skip to content

Consider reducing repetitiveness in debugging log lines #6

@samuelkarp

Description

@samuelkarp

From #5 (review) (@kzys):

Manually adding ecr.fetcher... prefix looks error-prone. How about either 1) using SetReportCaller or 2) adding a private method on ecrFetcher that returns a logger with a prefix. The prefix can be WithField("package", "ecr.fetcher...")

SetReportCaller adds a fair amount of overhead, so that's probably not the right answer for this library. The other approach might be worth pursuing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions