mirror of
https://github.com/Schrolli91/BOSWatch.git
synced 2026-04-14 10:53:37 +00:00
simple logging and data output with plugin
This commit is contained in:
parent
466e017cfb
commit
947bc9417c
6 changed files with 93 additions and 8 deletions
|
|
@ -1,2 +1,9 @@
|
|||
def run():
|
||||
print("Throw template Plugin")
|
||||
import logging
|
||||
|
||||
def run(typ,time,frequenz,data1,data2,data3):
|
||||
logging.debug("Throw Template Plugin")
|
||||
try:
|
||||
logging.debug("try 5/0")
|
||||
test = 5/0
|
||||
except:
|
||||
logging.exception("Error in Template Plugin")
|
||||
Loading…
Add table
Add a link
Reference in a new issue