30 lines · c
1#ifndef LLDB_TOOLS_LLDB_SERVER_LLDBSERVERUTILITIES_H2 3#define LLDB_TOOLS_LLDB_SERVER_LLDBSERVERUTILITIES_H4 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-exception10//11//===----------------------------------------------------------------------===//12 13#include "llvm/ADT/StringRef.h"14 15#include <string>16 17namespace lldb_private {18namespace lldb_server {19 20class LLDBServerUtilities {21public: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#endif30