comparison src/plugins/plugin_misc_xmllog.py @ 372:f964dcec1611

core: plugins refactored according to bridge + updatedValue now use profile
author Goffi <goffi@goffi.org>
date Wed, 06 Jul 2011 01:06:18 +0200
parents 6422fcdd831c
children 2a072735e459
comparison
equal deleted inserted replaced
371:3ea41a199b36 372:f964dcec1611
70 70
71 #parameters 71 #parameters
72 host.memory.importParams(self.params) 72 host.memory.importParams(self.params)
73 73
74 #bridge 74 #bridge
75 host.bridge.addSignal("xmlLog", ".communication", signature='sss') #args: direction("IN" or "OUT"), xml_data, profile 75 host.bridge.addSignal("xmlLog", ".plugin", signature='sss') #args: direction("IN" or "OUT"), xml_data, profile
76 76
77 do_log = bool(self.host.memory.getParamA("Xml log", "Debug")) 77 do_log = bool(self.host.memory.getParamA("Xml log", "Debug"))
78 if do_log: 78 if do_log:
79 info(_("XML log activated")) 79 info(_("XML log activated"))
80 host.trigger.add("XML Initialized", self.logXml) 80 host.trigger.add("XML Initialized", self.logXml)