mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 18:11:28 +01:00
be2cbe784f
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
14 lines
249 B
Python
Executable File
14 lines
249 B
Python
Executable File
#!/usr/bin/env python3
|
|
from pyln.client import Plugin
|
|
|
|
plugin = Plugin()
|
|
|
|
|
|
@plugin.init()
|
|
def init(options, configuration, plugin):
|
|
plugin.log("printing debug log", level='debug')
|
|
plugin.log("printing info log", level='info')
|
|
|
|
|
|
plugin.run()
|