diff options
author | Pavel Labath <pavel@labath.sk> | 2022-01-31 15:57:48 +0100 |
---|---|---|
committer | Pavel Labath <pavel@labath.sk> | 2022-02-02 14:13:08 +0100 |
commit | a007a6d84471bb956abe10974cac3066799f583f (patch) | |
tree | bfa09e71cc1ce894d3a1e7cab572c21eeaaf4117 /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp | |
parent | 574ad2a84626ffb0e7a64559e9862f20aadc013a (diff) | |
download | llvm-a007a6d84471bb956abe10974cac3066799f583f.zip llvm-a007a6d84471bb956abe10974cac3066799f583f.tar.gz llvm-a007a6d84471bb956abe10974cac3066799f583f.tar.bz2 |
[lldb] Convert "LLDB" log channel to the new API
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp')
-rw-r--r-- | lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 |