summaryrefslogtreecommitdiff
path: root/python/log.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/log.py')
-rw-r--r--python/log.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/python/log.py b/python/log.py
index 21e3bae2..04d8693a 100644
--- a/python/log.py
+++ b/python/log.py
@@ -18,12 +18,10 @@
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
# IN THE SOFTWARE.
-
# Binary Ninja components
from . import _binaryninjacore as core
from .enums import LogLevel
-
_output_to_log = False
@@ -163,7 +161,7 @@ def log_to_stderr(min_level):
core.BNLogToStderr(min_level)
-def log_to_file(min_level, path, append = False):
+def log_to_file(min_level, path, append=False):
"""
``log_to_file`` redirects minimum log level to a file named ``path``, optionally appending rather than overwriting.