1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
// Copyright 2022 IOTA Stiftung
// SPDX-License-Identifier: Apache-2.0

//! Diagnostics components for async.

#![deny(missing_docs)]

/// Contains [`tracing::Subscriber`] implementation for [`span`](`tracing::Span`) diagnostics.
pub mod subscriber;
/// Contains diagnostic utilities that are separate from [`tracing`].
pub mod util;

mod error;
mod observe;

pub use error::Error;
pub use observe::Observe;

pub use trace_tools_attributes::observe;