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

$fmt macro #8

Open
Dionysusnu opened this issue Jun 12, 2022 · 3 comments
Open

$fmt macro #8

Dionysusnu opened this issue Jun 12, 2022 · 3 comments

Comments

@Dionysusnu
Copy link

Same as $dbg, $print or $warn for the file location, just returns the concatted string instead of printing. Can be useful for things like error traces?

@Vorlias
Copy link
Member

Vorlias commented Jun 12, 2022

Yeah, this could be useful to add

@Vorlias
Copy link
Member

Vorlias commented Jun 19, 2022

I added $file.filePath & $file.lineNumber during the 2.0 work - these should suffice methinks, allows you to append these how you like - that good?

@Dionysusnu
Copy link
Author

Hm, maybe that gets long/verbose and hard to keep consistent? And one can't write a wrapper utility because that would break the callstack location. I'll have to try it for a bit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants