show how to call methods on plugins
This commit is contained in:
@@ -6,6 +6,9 @@ class FilterPlugin(PluginBase):
|
||||
super(FilterPlugin, self).__init__()
|
||||
print("init FilterPlugin")
|
||||
|
||||
def say_hello(self, arg: str):
|
||||
print("FilterPlugin says hello %s" % arg)
|
||||
|
||||
|
||||
def init():
|
||||
print("initializing filter plugin")
|
||||
|
||||
@@ -5,3 +5,6 @@ class LogFileViewerPlugin(PluginBase):
|
||||
def __init__(self):
|
||||
super(LogFileViewerPlugin, self).__init__()
|
||||
print("init LogFileViewerPlugin")
|
||||
|
||||
def say_hello(self, *args):
|
||||
print("LogFileViewerPlugin says hello")
|
||||
|
||||
Reference in New Issue
Block a user