Skip to content

Refactor: move logger interface to own package#867

Merged
natalieparellano merged 1 commit intomainfrom
refactor/move-logger
Jun 24, 2022
Merged

Refactor: move logger interface to own package#867
natalieparellano merged 1 commit intomainfrom
refactor/move-logger

Conversation

@natalieparellano
Copy link
Copy Markdown
Member

We use the logger everywhere and it's getting annoying to copy the interface so many times. It also makes it harder for interfaces that take a logger to be in a separate package from their implementation, as we might create an import cycle.

Signed-off-by: Natalie Arellano <narellano@vmware.com>
Copy link
Copy Markdown
Contributor

@mboldt mboldt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like a good move to me!

Beyond scope for this, but curious if we've considered just using apex directly? Like the advice from that Ultimate Service workshop we attended a while back.

@natalieparellano natalieparellano merged commit a23f9b1 into main Jun 24, 2022
@natalieparellano natalieparellano deleted the refactor/move-logger branch June 24, 2022 17:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants