tokio-rs / tracing

Application level tracing for Rust.
https://tracing.rs
MIT License
5.33k stars 697 forks source link

tracing: add index API for `Field` #2820

Open Rustin170506 opened 9 months ago

Rustin170506 commented 9 months ago

Motivation

Expose the index of the field. See more at: https://github.com/tokio-rs/console/issues/462#issuecomment-1830842319

Solution

Just added a new API.

Rustin170506 commented 7 months ago

@hawkw Friendly ping~