Skip to content

logf should support interpolated strings #7

@jwosty

Description

@jwosty

The following should work:

let durationMs = 5. / 3.
logfi ml $"Duration: %.2f{durationMs}ms"

Currently, this blows up with a runtime exception.

IIRC, this might actually be impossible to implement at the moment. Will investigate again to verify.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions