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

Function log_to_stdout

python/log.py:152–166  ·  view source on GitHub ↗

``log_to_stdout`` redirects minimum log level to standard out. :param enums.LogLevel min_level: minimum level to log to :rtype: None :Example: >>> log_debug("Hotdogs!") >>> log_to_stdout(LogLevel.DebugLog) >>> log_debug("Hotdogs!") Hotdogs! >>>

(min_level: LogLevel = LogLevel.InfoLog)

Source from the content-addressed store, hash-verified

150
151
152def log_to_stdout(min_level: LogLevel = LogLevel.InfoLog):
153 """
154 ``log_to_stdout`` redirects minimum log level to standard out.
155
156 :param enums.LogLevel min_level: minimum level to log to
157 :rtype: None
158 :Example:
159
160 >>> log_debug("Hotdogs!")
161 >>> log_to_stdout(LogLevel.DebugLog)
162 >>> log_debug("Hotdogs!")
163 Hotdogs!
164 >>>
165 """
166 core.BNLogToStdout(min_level)
167
168
169def log_to_stderr(min_level: LogLevel):

Callers 2

get_bininfoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected