MCPcopy Create free account
hub / github.com/chirpstack/chirpstack / log_event

Function log_event

chirpstack-integration/src/lib.rs:345–350  ·  view source on GitHub ↗
(pl: integration_pb::LogEvent)

Source from the content-addressed store, hash-verified

343}
344
345async fn log_event(pl: integration_pb::LogEvent) {
346 let integration = INTEGRATION.read().await;
347 if let Err(e) = integration.as_ref().unwrap().log_event(&pl).await {
348 error!(error = %e, "Log event error");
349 }
350}
351
352async fn location_event(pl: integration_pb::LocationEvent) {
353 let integration = INTEGRATION.read().await;

Callers 1

startMethod · 0.70

Calls 3

unwrapMethod · 0.80
as_refMethod · 0.80
log_eventMethod · 0.45

Tested by

no test coverage detected