MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / log_debug

Function log_debug

python/log.py:64–78  ·  view source on GitHub ↗

``log_debug`` Logs debugging information messages to the console. :param str text: message to print :rtype: None :Example: >>> log_to_stdout(LogLevel.DebugLog) >>> log_debug("Hotdogs!") Hotdogs!

(text: Any, logger: str = "")

Source from the content-addressed store, hash-verified

62
63
64def log_debug(text: Any, logger: str = ""):
65 """
66 ``log_debug`` Logs debugging information messages to the console.
67
68 :param str text: message to print
69 :rtype: None
70 :Example:
71
72 >>> log_to_stdout(LogLevel.DebugLog)
73 >>> log_debug("Hotdogs!")
74 Hotdogs!
75 """
76 if not isinstance(text, str):
77 text = str(text)
78 core.BNLogString(0, LogLevel.DebugLog, logger, threading.current_thread().ident, text)
79
80
81def log_info(text: Any, logger: str = ""):

Callers 1

collect_call_paramsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected