Skip to content
New issue

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

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

Already on GitHub? # to your account

Are log msgs passed by-name / evaluated lazily? #38

Open
ryan-williams opened this issue Mar 29, 2019 · 0 comments
Open

Are log msgs passed by-name / evaluated lazily? #38

ryan-williams opened this issue Mar 29, 2019 · 0 comments

Comments

@ryan-williams
Copy link

I don't see a mention of this in the documentation.

The logger methods don't take their msg param by-name, but I guess the macro implementations may be providing that "laziness" to the msg-construction.

If I have a complicated interpolated string, I don't want to create it unless I am actually going to log it…

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant