summaryrefslogtreecommitdiff
path: root/lldb/tools/lldb-server/LLDBServerUtilities.h
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/tools/lldb-server/LLDBServerUtilities.h')
-rw-r--r--lldb/tools/lldb-server/LLDBServerUtilities.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/lldb/tools/lldb-server/LLDBServerUtilities.h b/lldb/tools/lldb-server/LLDBServerUtilities.h
new file mode 100644
index 000000000000..3ade1f9f5b8a
--- /dev/null
+++ b/lldb/tools/lldb-server/LLDBServerUtilities.h
@@ -0,0 +1,23 @@
+//===-- LLDBServerUtilities.h -----------------------------------*- C++ -*-===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#include "llvm/ADT/StringRef.h"
+
+#include <string>
+
+namespace lldb_private {
+namespace lldb_server {
+
+class LLDBServerUtilities {
+public:
+ static bool SetupLogging(const std::string &log_file,
+ const llvm::StringRef &log_channels,
+ uint32_t log_options);
+};
+}
+}