1 #ifndef LLDB_TOOLS_LLDB_SERVER_LLDBSERVERUTILITIES_H
3 #define LLDB_TOOLS_LLDB_SERVER_LLDBSERVERUTILITIES_H
5 //===-- LLDBServerUtilities.h -----------------------------------*- C++ -*-===//
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
11 //===----------------------------------------------------------------------===//
13 #include "llvm/ADT/StringRef.h"
17 namespace lldb_private
{
18 namespace lldb_server
{
20 class LLDBServerUtilities
{
22 static bool SetupLogging(const std::string
&log_file
,
23 const llvm::StringRef
&log_channels
,
24 uint32_t log_options
);