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

Method log_event

chirpstack/src/integration/http.rs:146–157  ·  view source on GitHub ↗
(
        &self,
        _vars: &HashMap<String, String>,
        pl: &integration::LogEvent,
    )

Source from the content-addressed store, hash-verified

144 }
145
146 async fn log_event(
147 &self,
148 _vars: &HashMap<String, String>,
149 pl: &integration::LogEvent,
150 ) -> Result<()> {
151 let b = match self.json {
152 true => serde_json::to_vec(&pl)?,
153 false => pl.encode_to_vec(),
154 };
155
156 self.post_event("log", b).await
157 }
158
159 async fn status_event(
160 &self,

Callers 1

test_httpFunction · 0.45

Calls 1

post_eventMethod · 0.45

Tested by 1

test_httpFunction · 0.36