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

Method log

plugins/src/logging.rs:84–93  ·  view source on GitHub ↗
(&self, record: &Record)

Source from the content-addressed store, hash-verified

82 }
83
84 fn log(&self, record: &Record) {
85 if self.filter.matches(record) {
86 self.sender
87 .send(LogEntry {
88 level: record.level().into(),
89 message: record.args().to_string(),
90 })
91 .unwrap();
92 }
93 }
94
95 fn flush(&self) {}
96}

Callers

nothing calls this directly

Calls 3

unwrapMethod · 0.80
sendMethod · 0.80
to_stringMethod · 0.80

Tested by

no test coverage detected