1 #ifndef LLDB_TOOLS_LLDB_SERVER_LLDBSERVERUTILITIES_H 2 3 #define LLDB_TOOLS_LLDB_SERVER_LLDBSERVERUTILITIES_H 4 5 //===-- LLDBServerUtilities.h -----------------------------------*- C++ -*-===// 6 // 7 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 8 // See https://llvm.org/LICENSE.txt for license information. 9 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 10 // 11 //===----------------------------------------------------------------------===// 12 13 #include "llvm/ADT/StringRef.h" 14 15 #include <string> 16 17 namespace lldb_private { 18 namespace lldb_server { 19 20 class LLDBServerUtilities { 21 public: 22 static bool SetupLogging(const std::string &log_file, 23 const llvm::StringRef &log_channels, 24 uint32_t log_options); 25 }; 26 } 27 } 28 29 #endif 30