ElementsProject / lightning

Core Lightning — Lightning Network implementation focusing on spec compliance and performance
Other
2.81k stars 887 forks source link

document CLN_PLUGIN_LOG behavior #6927

Open chrisguida opened 9 months ago

chrisguida commented 9 months ago

It's not at all intuitive how to make log::debug! and log::trace! messages appear in the CLN log when sent from a plugin using the Rust cln-plugin library.

I finally figured out how to do it: https://github.com/chrisguida/smaug/issues/34

We should document this somewhere.

w3irdrobot commented 2 months ago

There isn't any documentation at the top level of the crate. This could be a good candidate for something that should be in that sort of docs.