Have you ever found it tedious to attach #[tracing::instrument]
to each function one by one? That's where #[tracing_orchestra::instrument]
comes in!
#[tracing_orchestra::orchestra]
allows you to attach what would have been #[tracing::instrument]
on each function, to the impl
block instead.
toml
[dependencies]
tracing-orchestra = "0.1"
```rust use tracing_orchestra::orchestra;
impl Foo { fn bar() {} fn baz() {} } ```
#[tracing::instrument]
to functions.#[tracing::instrument]
.
#[tracing::instrument]
.#[tracing::instrument]
.Because there are a lot of instruments.
MIT