We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf534e0 commit 11dd93aCopy full SHA for 11dd93a
appslab_modules/sinks/log/__init__.py
@@ -0,0 +1,16 @@
1
+
2
+import logging
3
4
+logger = logging.getLogger(__name__)
5
6
+class LogWriter:
7
+ def __init__(self):
8
+ pass
9
10
+ def consume(self, item):
11
+ if item == None:
12
+ return None
13
14
+ logger.info(item)
15
16
+ return item
appslab_modules/sinks/log/module_config.yaml
@@ -0,0 +1,2 @@
+name: log
+module_description: "Output writer that logs the data to the console."
0 commit comments