1 unstable release
new 0.1.0 | Mar 14, 2025 |
---|
#12 in #subcanister
6KB
Module for procedural macros that add tracing capabilities to canister functions.
This module provides macros that automatically add tracing instrumentation to functions, making it easier to debug and monitor canister behavior. It wraps functions with tracing capabilities while preserving their original functionality.
Example
use bity_dfinity_library::canister_tracing_macros::trace;
#[trace]
async fn my_function(arg1: u64, arg2: String) -> Result<(), String> {
// Function implementation
Ok(())
}
Dependencies
~200–640KB
~15K SLoC