Skip to content
Snippets Groups Projects
Commit 06f7afb0 authored by jkerdreu's avatar jkerdreu
Browse files

Added action



git-svn-id: https://redmine.imt-atlantique.fr/svn/xaal/code/Python/trunk@2253 b32b6428-25c9-4566-ad07-03861ab6144f
parent 0945bde9
Branches
No related tags found
No related merge requests found
......@@ -8,8 +8,8 @@ helpers.set_console_title("xaal-log")
def print_evt(msg):
if msg.is_alive():
return
if msg.is_attributes_change() or msg.is_notify():
print("%s %s %s %s" % (time.ctime(),msg.source,msg.devtype,msg.body))
if msg.is_notify():
print("%s %s %s %s %s" % (time.ctime(),msg.source,msg.devtype,msg.action,msg.body))
def main():
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment