X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sfa%2Futil%2Fmethod.py;fp=sfa%2Futil%2Fmethod.py;h=43b589c1e3d99269adfcda7b7f10e9b026f90f2c;hb=74e2ca78d55a9b65eef8f2c156a4ad0794b92ecc;hp=24ab75e8d3b9bf79c82cf99b5d4cb2445c42127c;hpb=8d72aff39e9643bda51c5d746290e7f23ff1b409;p=sfa.git diff --git a/sfa/util/method.py b/sfa/util/method.py index 24ab75e8..43b589c1 100644 --- a/sfa/util/method.py +++ b/sfa/util/method.py @@ -80,12 +80,13 @@ class Method: self.type_check(name, value, expected, args) if self.api.config.SFA_API_DEBUG: - sfa_logger().debug("method.__call__ calling method %s"%methodname) + sfa_logger().debug("method.__call__ [%s] : BEG %s"%(self.api.interface,methodname)) result = self.call(*args, **kwds) runtime = time.time() - start if self.api.config.SFA_API_DEBUG or hasattr(self, 'message'): - sfa_logger().debug("method.__call__ %s completed in %02f s (%s)"%(methodname,runtime,getattr(self,'message',"[no-msg]"))) + sfa_logger().debug("method.__call__ [%s] : END %s in %02f s (%s)"%\ + (self.api.interface,methodname,runtime,getattr(self,'message',"[no-msg]"))) return result