-
Notifications
You must be signed in to change notification settings - Fork 65
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
Support logging raw template value in log APIs #3331
Support logging raw template value in log APIs #3331
Comments
Hey @daneshk! I would like work on this, but the issue isn't very clear from the description :( |
Thanks @codingmickey for your interest and sorry for the delay in responding. Please find the description about the issue below, Problem The public function main() returns error? {
string input = "Hello, World!";
io:println(`input value: ${input}`);
} where we can pass the template value with variables, and it extracts the value from the variable and prints. Here the output is, This support is not available in the log functions, it only supports passing string literals. Expectation In this issue, we are expecting to support the same behaviour in all log functions as well. So user can pass the template value like below, public function main() returns error? {
string input = "Hello, World!";
log:printInfo(`input value: ${input}`);
} Resources
Please let me know, if you need more help and details |
I would like to work on this issue |
@codingmickey Can you update the current status for this issue, please? when can we expect the fix, etc? |
@keizer619 I would like to work on this issue. |
Hi @Aviral0702 You can work on this issue. To help you get started, here are some essential resources:
|
@Aviral0702 Are you working on this? |
Hi, I would like to work on this issue. |
Submitted a PR, can you please check @daneshk |
Description:
Need similar support in
io:println
The text was updated successfully, but these errors were encountered: