Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/lightning
/ log_error
Function
log_error
plugins/grpc-plugin/src/main.rs:190–197 ·
view source on GitHub ↗
(error: String)
Source
from the content-addressed store, hash-verified
188
}
189
190
fn log_error(error: String) {
191
println!(
192
"{}"
,
193
serde_json::json!({
"jsonrpc"
:
"2.0"
,
194
"method"
:
"log"
,
195
"params"
: {
"level"
:
"warn"
,
"message"
:error}})
196
);
197
}
Callers
1
main
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected