diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2022-07-03 14:10:23 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2022-07-03 14:10:23 +0000 |
| commit | 145449b1e420787bb99721a429341fa6be3adfb6 (patch) | |
| tree | 1d56ae694a6de602e348dd80165cf881a36600ed /lldb/source/Core/StreamFile.cpp | |
| parent | ecbca9f5fb7d7613d2b94982c4825eb0d33d6842 (diff) | |
Diffstat (limited to 'lldb/source/Core/StreamFile.cpp')
| -rw-r--r-- | lldb/source/Core/StreamFile.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/source/Core/StreamFile.cpp b/lldb/source/Core/StreamFile.cpp index 7753397ae0f1..8aac0b6d6306 100644 --- a/lldb/source/Core/StreamFile.cpp +++ b/lldb/source/Core/StreamFile.cpp @@ -8,6 +8,7 @@ #include "lldb/Core/StreamFile.h" #include "lldb/Host/FileSystem.h" +#include "lldb/Utility/LLDBLog.h" #include "lldb/Utility/Log.h" #include <cstdio> @@ -37,7 +38,7 @@ StreamFile::StreamFile(const char *path, File::OpenOptions options, m_file_sp = std::move(file.get()); else { // TODO refactor this so the error gets popagated up instead of logged here. - LLDB_LOG_ERROR(GetLogIfAllCategoriesSet(LIBLLDB_LOG_HOST), file.takeError(), + LLDB_LOG_ERROR(GetLog(LLDBLog::Host), file.takeError(), "Cannot open {1}: {0}", path); m_file_sp = std::make_shared<File>(); } |
