renamed get() to create() in plugins and added the log to args.
This commit is contained in:
parent
04e30b3301
commit
1fc684c7e0
5 changed files with 14 additions and 16 deletions
|
|
@ -3,12 +3,11 @@ This file is part of Linspector (https://linspector.org/)
|
|||
Copyright (c) 2022 Johannes Findeisen <you@hanez.org>. All Rights Reserved.
|
||||
See LICENSE (MIT license)
|
||||
"""
|
||||
from linspector.core.helpers import log
|
||||
|
||||
|
||||
class Plugin:
|
||||
|
||||
def __init__(self, configuration, environment, linspector):
|
||||
def __init__(self, configuration, environment, linspector, log):
|
||||
self.__configuration = configuration
|
||||
self._environment = environment
|
||||
self.__linspector = linspector
|
||||
self.__log = log
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue