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

Deprecate ctx.log(message, level) in IResourceContext #6473

Open
Chriscbr opened this issue May 14, 2024 · 0 comments
Open

Deprecate ctx.log(message, level) in IResourceContext #6473

Chriscbr opened this issue May 14, 2024 · 0 comments
Labels
breaking-change Fix expected to include a breaking change 🛠️ compiler Compiler refactor 🎨 sdk SDK 🕹️ simulator Related to the `sim` compilation target

Comments

@Chriscbr
Copy link
Contributor

Chriscbr commented May 14, 2024

Instead, we could add an optional level field to the global log function:

log("Hello", level: std.LogLevel.VERBOSE)
@Chriscbr Chriscbr added 🎨 sdk SDK 🕹️ simulator Related to the `sim` compilation target 🛠️ compiler Compiler breaking-change Fix expected to include a breaking change labels May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking-change Fix expected to include a breaking change 🛠️ compiler Compiler refactor 🎨 sdk SDK 🕹️ simulator Related to the `sim` compilation target
Projects
Status: 🤝 Backlog - handoff to owners
Development

No branches or pull requests

2 participants