MCPcopy Create free account
hub / github.com/cargo-lambda/cargo-lambda / tracing_config

Method tracing_config

crates/cargo-lambda-metadata/src/cargo/deploy.rs:151–159  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

149 }
150
151 pub fn tracing_config(&self) -> Option<TracingConfig> {
152 let tracing = self.function_config.tracing.clone()?;
153
154 Some(
155 TracingConfig::builder()
156 .mode(tracing.as_str().into())
157 .build(),
158 )
159 }
160
161 pub fn lambda_tags(&self) -> Option<HashMap<String, String>> {
162 match &self.tag {

Callers 2

create_functionFunction · 0.80
update_function_configFunction · 0.80

Calls 2

buildMethod · 0.80
as_strMethod · 0.80

Tested by

no test coverage detected