We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
#[track_caller]
Internally, slog uses file!() macro and its friends. This unfortunately does not work as expected if user opts in to #[track_caller] directive.
slog
file!()
As a reference log crate fixed this in https://github.com/rust-lang/log/pull/633/files (with discussion starting back in rust-lang/log#410)
log
I can try to create an MR working in similar ways as the abovementioned MR on log if you are interested.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Internally,
slog
usesfile!()
macro and its friends. This unfortunately does not work as expected if user opts in to#[track_caller]
directive.As a reference
log
crate fixed this in https://github.com/rust-lang/log/pull/633/files (with discussion starting back in rust-lang/log#410)I can try to create an MR working in similar ways as the abovementioned MR on
log
if you are interested.The text was updated successfully, but these errors were encountered: