#include "support/Logger.h"
#include "support/Trace.h"
#include "llvm/Support/Chrono.h"
#include "llvm/Support/Error.h"
#include "llvm/Support/FormatVariadic.h"
#include "llvm/Support/raw_ostream.h"
#include <mutex>
namespace clang {
namespace clangd {
namespace {
Logger *L = …;
}
LoggingSession::LoggingSession(clangd::Logger &Instance) { … }
LoggingSession::~LoggingSession() { … }
void detail::logImpl(Logger::Level Level, const char *Fmt,
const llvm::formatv_object_base &Message) { … }
const char *detail::debugType(const char *Filename) { … }
void StreamLogger::log(Logger::Level Level, const char *Fmt,
const llvm::formatv_object_base &Message) { … }
namespace {
class SimpleStringError : public llvm::ErrorInfo<SimpleStringError> { … };
char SimpleStringError::ID;
}
llvm::Error detail::error(std::error_code EC, std::string &&Msg) { … }
}
}