Made the logger an object to be multiprocessing compatible.
The initialization of the Configuration() object can not log anymore since the Log() object initialization requires the Configuration(). Maybe I will find a better solution in the future. For now, it fixes bugs and makes my life easier.
This commit is contained in:
parent
4ae153f3be
commit
e5cc2a4596
19 changed files with 201 additions and 211 deletions
|
|
@ -8,6 +8,6 @@ See LICENSE (MIT license)
|
|||
class Plugin:
|
||||
def __init__(self, configuration, environment, linspector, log):
|
||||
self.__configuration = configuration
|
||||
self._environment = environment
|
||||
self.__environment = environment
|
||||
self.__linspector = linspector
|
||||
self.__log = log
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue