#include "remoting/client/in_memory_log_handler.h"
#include "base/check.h"
#include "base/containers/ring_buffer.h"
#include "base/logging.h"
#include "base/synchronization/lock.h"
namespace remoting {
namespace {
constexpr size_t kMaxNumberOfLogs = …;
struct LogHandlerContext { … };
LogHandlerContext* g_log_handler_context = …;
bool HandleLogMessage(int severity,
const char* file,
int line,
size_t message_start,
const std::string& str) { … }
}
void InMemoryLogHandler::Register() { … }
std::string InMemoryLogHandler::GetInMemoryLogs() { … }
}