diff --git a/mythril/__init__.py b/mythril/__init__.py index 063d3b9b..d1d2caab 100644 --- a/mythril/__init__.py +++ b/mythril/__init__.py @@ -1,6 +1,14 @@ # We use RsT document formatting in docstring. For example :param to mark parameters. # See PEP 287 __docformat__ = "restructuredtext" +import logging # Accept mythril.VERSION to get mythril's current version number from .__version__ import __version__ as VERSION # NOQA +from mythril.plugin.loader import MythrilPluginLoader + +log = logging.getLogger(__name__) + +# Initialise core Mythril Components +log.info("Initializing core Mythril components") +_ = MythrilPluginLoader() diff --git a/mythril/plugin/loader.py b/mythril/plugin/loader.py index 6c75cf4d..b14f6c92 100644 --- a/mythril/plugin/loader.py +++ b/mythril/plugin/loader.py @@ -19,6 +19,7 @@ class MythrilPluginLoader(object, metaclass=Singleton): """ def __init__(self): + log.info("Initializing mythril plugin loader") self.loaded_plugins = [] def load(self, plugin: MythrilPlugin):