Skip to content

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

@ryan-williams

Description

@ryan-williams

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…

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions