Skip to content

[Improvement] Built-in logs with f-string like support #77

@shazz

Description

@shazz

it would be great to have a specific logger directive which supports f-string like arguments like:

!log("Current Bank selected: {VIC.BANK} in iteration {i}")

Workaround using a plugin:

module.exports = {
    debug: ({}, args) => {
        console.log(args);
    }
}
!!utils.debug(["Current Bank selected:", VIC.BANK, "in iteration", i])

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