diff --git a/opt/ahenk/base/Scope.py b/opt/ahenk/base/Scope.py index ae0c0e7..62335a6 100644 --- a/opt/ahenk/base/Scope.py +++ b/opt/ahenk/base/Scope.py @@ -1,6 +1,6 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -# Author: İsmail BAŞARAN +# @author: İsmail BAŞARAN class Scope(object): @@ -9,15 +9,25 @@ class Scope(object): super(Scope, self).__init__() self.customMap = {} self.configurationManager=None + self.logger=None def getCustomMap(self): return self.customMap def putCustomMap(self,name,value): - self.custom[name]=value + self.custom[str(name)]=value + + def getCustomParam(self,name): + return self.customMap[str(name)] def getConfigurationManager(self): return self.configurationManager def serConfigurationManager(self,configurationManager): self.configurationManager = configurationManager + + def getLogger(self): + return self.logger + + def setLogger(self,logger): + self.logger = logger