binaryninja.log.log_error

binaryninja.log.log_error(text)[source]

log_error Logs message to console, if run through the GUI it logs with Error icon, focusing the error console.

Parameters:

text (str) – message to print

Return type:

None

Example:
>>> log_to_stdout(LogLevel.DebugLog)
>>> log_error("Spanferkel!")
Spanferkel!
>>>