#include "test/logging/file_log_writer.h"
#include <memory>
#include "absl/strings/string_view.h"
#include "rtc_base/checks.h"
#include "rtc_base/logging.h"
#include "test/testsupport/file_utils.h"
namespace webrtc {
namespace webrtc_impl {
FileLogWriter::FileLogWriter(absl::string_view file_path)
: … { … }
FileLogWriter::~FileLogWriter() { … }
bool FileLogWriter::IsActive() const { … }
bool FileLogWriter::Write(absl::string_view value) { … }
void FileLogWriter::Flush() { … }
}
FileLogWriterFactory::FileLogWriterFactory(absl::string_view base_path)
: … { … }
FileLogWriterFactory::~FileLogWriterFactory() { … }
std::unique_ptr<RtcEventLogOutput> FileLogWriterFactory::Create(
absl::string_view filename) { … }
}