loguru icon indicating copy to clipboard operation
loguru copied to clipboard

Consider adding thread's "native_id" to the record attributes

Open Delgan opened this issue 10 months ago • 0 comments

See https://github.com/Delgan/loguru/issues/936.

I feel using the OS thread id would more useful than the Python thread identifier. Especially because this can be mapped with external tools (such as Sentry).

I suggest to rename current "{thread.id}" to "{thread.ident}", then assign native_id() output to "{thread.id}".

Delgan avatar Jan 16 '25 12:01 Delgan