linspector/linspector/services/misc/random.py
Johannes Findeisen 7e228a3196 Some more logging stuff. log is now a global function as argument.
Don't know if it is good, but it made things easier to me.
2022-10-06 02:42:15 +02:00

21 lines
624 B
Python

"""
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.service import Service
def create(configuration, environment, log):
return RandomService(configuration, environment, log)
class RandomService(Service):
def __init__(self, configuration, environment, log):
super().__init__(configuration, environment, log)
self.__configuration = configuration
self.__environment = environment
self.__log = log
def execute(self, **kwargs):
return