[lldb] Convert "LLDB" log channel to the new API

This commit is contained in:
Pavel Labath
2022-01-31 15:57:48 +01:00
parent 574ad2a846
commit a007a6d844
214 changed files with 960 additions and 1118 deletions

View File

@@ -1050,7 +1050,7 @@ PythonException::PythonException(const char *caller) {
PyErr_Clear();
}
}
Log *log = GetLogIfAllCategoriesSet(LIBLLDB_LOG_SCRIPT);
Log *log = GetLog(LLDBLog::Script);
if (caller)
LLDB_LOGF(log, "%s failed with exception: %s", caller, toCString());
else