From 74e2ca78d55a9b65eef8f2c156a4ad0794b92ecc Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Thu, 7 Apr 2011 15:54:57 +0200 Subject: [PATCH] cosmetic --- sfa/util/method.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 -- 2.47.0