Skip to content

Allow thread name to not track the longest name #2465

Open
@Sytten

Description

@Sytten

Feature Request

Crates

tracing-subscriber

Motivation

Currently the FmtThreadName tracks the longest name it sees. In many cases this is VERY ugly.

Proposal

It should be possible to just not track the length and just print the name even if the log lines don't align.
Basically FmtThreadName::new(name, self.track_longuest_thread_name).

Alternatives

None at the moment.

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