``log_info`` Logs general information messages to the console. :param str text: message to print :rtype: None :Example: >>> log_info("Saucisson!") Saucisson! >>>
(text: Any, logger: str = "")
| 79 | |
| 80 | |
| 81 | def log_info(text: Any, logger: str = ""): |
| 82 | """ |
| 83 | ``log_info`` Logs general information messages to the console. |
| 84 | |
| 85 | :param str text: message to print |
| 86 | :rtype: None |
| 87 | :Example: |
| 88 | |
| 89 | >>> log_info("Saucisson!") |
| 90 | Saucisson! |
| 91 | >>> |
| 92 | """ |
| 93 | if not isinstance(text, str): |
| 94 | text = str(text) |
| 95 | core.BNLogString(0, LogLevel.InfoLog, logger, threading.current_thread().ident, text) |
| 96 | |
| 97 | |
| 98 | def log_warn(text: Any, logger: str = ""): |
no outgoing calls
no test coverage detected