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
c9e5e13 While using the #[track_caller] attribute with the following function:
#[track_caller] pub fn loc() -> &'static Location<'static> { Location::caller() }
it seems that in some cases, the log outputs might include absolute file paths instead of relative paths.
The text was updated successfully, but these errors were encountered:
This is controlled by rustc, not the log crate, I don't think we can do much here.
I think rustc has some options here, e.g. --remap-path-prefix or rust-lang/rust#111540.
--remap-path-prefix
Sorry, something went wrong.
Oh thank you a lot
No branches or pull requests
c9e5e13
While using the #[track_caller] attribute with the following function:
#[track_caller]
pub fn loc() -> &'static Location<'static> {
Location::caller()
}
it seems that in some cases, the log outputs might include absolute file paths instead of relative paths.
The text was updated successfully, but these errors were encountered: