- refactored

git-svn-id: http://moon:8086/svn/projects/HendiControl@380 fda53097-d464-4ada-af97-ba876c37ca34
This commit is contained in:
2020-04-20 15:50:25 +00:00
parent ec85ab3c73
commit 16b77f0a17
9 changed files with 38 additions and 25 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ import logging
class ATemperatureSensor(abc.ABC):
def log(self, s):
d = {'user': self.name()}
d = {'user': "TemperatureSensor" + "::" + self.name()}
logging.info ("{}".format(s), extra=d)
@abc.abstractmethod