renamed get() to create() in plugins and added the log to args.

This commit is contained in:
Johannes Findeisen 2022-10-06 22:42:31 +02:00
commit 1fc684c7e0
5 changed files with 14 additions and 16 deletions

View file

@ -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