From a007a6d84471bb956abe10974cac3066799f583f Mon Sep 17 00:00:00 2001 From: Pavel Labath Date: Mon, 31 Jan 2022 15:57:48 +0100 Subject: [lldb] Convert "LLDB" log channel to the new API --- lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp') diff --git a/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp b/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp index 68f4e90..907978d 100644 --- a/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp +++ b/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp @@ -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 -- cgit v1.1