Skip to content

Support for filename and line number #344

@EriKWDev

Description

@EriKWDev

The log::Record contains information about the filename and line number the log comes from which I have found is very useful during development.

It would be nice if it could be enabled optionally similarly to how timestamps can be turned off and module paths can be turned on.

I have a custom format-fn at the moment to do this but it would be neat if it was built-in since all other coloring and stuff is still very useful.

[ LEVEL crate path/to/file.rs:1337 ]

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions