MCPcopy Create free account
hub / github.com/ElementsProject/lightning / log_error

Function log_error

plugins/rest-plugin/src/main.rs:276–283  ·  view source on GitHub ↗
(error: String)

Source from the content-addressed store, hash-verified

274}
275
276fn log_error(error: String) {
277 println!(
278 "{}",
279 serde_json::json!({"jsonrpc": "2.0",
280 "method": "log",
281 "params": {"level":"warn", "message":error}})
282 );
283}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected