summaryrefslogtreecommitdiff
path: root/python/log.py
diff options
context:
space:
mode:
authorKyleMiles <krm504@nyu.edu>2022-01-27 22:43:28 -0500
committerKyleMiles <krm504@nyu.edu>2022-01-28 00:24:06 -0500
commit6812c973c9fa9b4ad642ab81856c05f87bd6fcc4 (patch)
treedace4156d03148bcaf02df138ab4e0d93e61bc6f /python/log.py
parent519c9db22367f2659d1a54599fab47e6313be06e (diff)
Format All Files
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.