simple logging and data output with plugin

This commit is contained in:
Schrolli 2015-05-18 12:03:42 +02:00
parent 466e017cfb
commit 947bc9417c
6 changed files with 93 additions and 8 deletions

View file

@ -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")