summaryrefslogtreecommitdiff
path: root/tools/lldb-server/LLDBServerUtilities.h
blob: 3ade1f9f5b8add69a5190db34d5cece0ab4731ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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);
};
}
}