Trait lambda_runtime_api_client::tracing::Callsite
source · pub trait Callsite: Sync {
// Required methods
fn set_interest(&self, interest: Interest);
fn metadata(&self) -> &Metadata<'_>;
}
Expand description
Re-export the tracing
crate to have access to tracing macros
like info!
, debug!
, trace!
and so on.
Trait implemented by callsites.
These functions are only intended to be called by the callsite registry, which correctly handles determining the common interest between all subscribers.
See the module-level documentation for details on callsites.
Required Methods§
sourcefn set_interest(&self, interest: Interest)
fn set_interest(&self, interest: Interest)
Sets the Interest
for this callsite.
See the documentation on callsite interest caching for details.