binaryninja.log.log_to_stdout

binaryninja.log.log_to_stdout(min_level)[source]

log_to_stdout redirects minimum log level to standard out.

Parameters:

min_level (int) – minimum level to log to

Return type:

None

Example:
>>> log_debug("Hotdogs!")
>>> log_to_stdout(LogLevel.DebugLog)
>>> log_debug("Hotdogs!")
Hotdogs!
>>>