Skip to content

Slog does not honor #[track_caller] #342

@ppershing

Description

@ppershing

Internally, slog uses file!() 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions