Registry / observability / holochain-tracing-macros

holochain-tracing-macros

JSON →
library0.0.24rscratesunverified

Provides macros for distributed tracing abstraction in Holochain applications.

# Cargo.toml [dependencies] holochain_tracing_macros = "0.0.24"
INSTALL
IMPORT
SIG · HOLOCHAIN-TRACING-
H
holochain-tracing-macros
observabilityrustv0.0.24
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

trace
use holochain_tracing_macros::trace;

Demonstrates using the trace macro to instrument a function.

use holochain_tracing_macros::trace; #[trace] fn my_function() { // function body } fn main() { my_function(); }
Debug
Known issues
gotchaRequires the `tracing` crate and a subscriber to be set up for output.
fix
Add `tracing` and `tracing-subscriber` as dependencies and initialize a subscriber.
affects: >=0.0.1
Upgrade
Version history
0.0.24latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
18 hits · last 30 days
node
14
OpenAI (training)
2
Amazon
1
Resources
holochain-tracing-macros — cargo add holochain-tracing-macros · libregistry