summaryrefslogtreecommitdiff
path: root/python/log.py
diff options
context:
space:
mode:
authorPeter LaFosse <peter@vector35.com>2018-05-12 22:01:06 -0400
committerPeter LaFosse <peter@vector35.com>2018-05-12 22:01:06 -0400
commit0094fe08a8f8fbb51c787a358494893391b11654 (patch)
treef951fc5082bcfd83e2085698a5893eda7dda8932 /python/log.py
parentbcbf41603888f03beff805415982cc1d9623e2c1 (diff)
parent3f4a7a5d0c18bf91a4b43f574f66e516028e38c9 (diff)
Merge branch 'dev' into test_relocation
Diffstat (limited to 'python/log.py')
-rw-r--r--python/log.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/log.py b/python/log.py
index f7144183..b1fd7095 100644
--- a/python/log.py
+++ b/python/log.py
@@ -21,6 +21,7 @@
# Binary Ninja components
import _binaryninjacore as core
+from enums import LogLevel
_output_to_log = False
@@ -135,7 +136,7 @@ def log_alert(text):
core.BNLogAlert("%s", str(text))
-def log_to_stdout(min_level):
+def log_to_stdout(min_level=LogLevel.InfoLog):
"""
``log_to_stdout`` redirects minimum log level to standard out.