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

feat(api): made the API safer to use and simpler to implement #123

Merged
merged 1 commit into from
Jun 14, 2020

Conversation

hanny24
Copy link
Contributor

@hanny24 hanny24 commented Jun 13, 2020

Commit messages says it all..I'm introducing a slight change to the API such it is safer to use by default. By that I mean a case when "expensive" string is passed a log message. We now pass it by name.

It also simplified all implementations.

The change is mostly source-compatible, but not binary-compatible. The only change that is not source compatible is related to the new ArgLogBuilder trait. It could in theory cause some compile issues, but only in some rare cases.

@hanny24 hanny24 merged commit ffb3f97 into master Jun 14, 2020
@hanny24 hanny24 deleted the feat/api branch June 14, 2020 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants