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

Function hugelog

tests/plugins/hugelog.py:15–19  ·  view source on GitHub ↗

Log one entry of bytelen bytes, on a single line.

(plugin, bytelen)

Source from the content-addressed store, hash-verified

13
14@plugin.method("hugelog")
15def hugelog(plugin, bytelen):
16 """Log one entry of bytelen bytes, on a single line."""
17 bytelen = int(bytelen)
18 plugin.log("X" * bytelen)
19 return {"logged": bytelen}
20
21
22plugin.run()

Callers

nothing calls this directly

Calls 1

logMethod · 0.80

Tested by

no test coverage detected