#include "LLDBServerUtilities.h"
#include "lldb/Utility/Args.h"
#include "lldb/Utility/Log.h"
#include "lldb/Utility/StreamString.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/FileSystem.h"
usingnamespacelldb;
usingnamespacelldb_private::lldb_server;
usingnamespacelldb_private;
usingnamespacellvm;
class TestLogHandler : public LogHandler { … };
static std::shared_ptr<TestLogHandler> GetLogStream(StringRef log_file) { … }
bool LLDBServerUtilities::SetupLogging(const std::string &log_file,
const StringRef &log_channels,
uint32_t log_options) { … }