diff options
Diffstat (limited to 'python/__init__.py')
| -rw-r--r-- | python/__init__.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/python/__init__.py b/python/__init__.py index db23a861..2d2da238 100644 --- a/python/__init__.py +++ b/python/__init__.py @@ -177,6 +177,11 @@ def _init_plugins(): _destruct_callbacks = _DestructionCallbackHandler() +def disable_logging(): + '''Disable logging in headless mode. By default, logging is enabled in headless mode.''' + _init_plugins() + close_logs() + def bundled_plugin_path(): """ ``bundled_plugin_path`` returns a string containing the current plugin path inside the `install path <https://docs.binary.ninja/getting-started.html#binary-path>`_ |
