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

Function test_log_levels

plugins/examples/cln-plugin-startup.rs:171–181  ·  view source on GitHub ↗
(
    _p: Plugin<()>,
    _v: serde_json::Value,
)

Source from the content-addressed store, hash-verified

169}
170
171async fn test_log_levels(
172 _p: Plugin<()>,
173 _v: serde_json::Value,
174) -> Result<serde_json::Value, Error> {
175 log::trace!("log::trace! working");
176 log::debug!("log::debug! working");
177 log::info!("log::info! working");
178 log::warn!("log::warn! working");
179 log::error!("log::error! working");
180 Ok(json!({}))
181}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected