Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stimlog #9

Merged
merged 7 commits into from
Apr 19, 2019
Merged

Stimlog #9

merged 7 commits into from
Apr 19, 2019

Conversation

lwahlmeier
Copy link
Member

commonizes logger to StimLogger. There are some features I want to add to the logger and will probably just use that over logurs in the end.

Logger
}

type Logger interface {
Copy link
Collaborator

Choose a reason for hiding this comment

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

I'm not sure I agree with removing the interface and forcing people using this package to use "github.com/readytalk/stim/pkg/stimlog". The whole idea was to allow a consumer of this package to pass in any logger they wanted as long as it has the Debug and Info methods.

Copy link
Member Author

Choose a reason for hiding this comment

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

I dont completely disagree, but its a little silly to require Stim, which has its logger, then not use its logger. Right now because of that there is no way these packages can be independent from stim.

Actually, let me put out the changes I have around redoing stimpacks to make them independent from stim, just didnt want to do it all in one shot.

@lwahlmeier lwahlmeier merged commit c973e5d into master Apr 19, 2019
@lwahlmeier lwahlmeier deleted the stimlog branch September 11, 2019 17:28
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.

None yet

2 participants