#include <folly/logging/AsyncFileWriter.h>
#include <folly/Exception.h>
#include <folly/FileUtil.h>
#include <folly/logging/LoggerDB.h>
namespace folly {
AsyncFileWriter::AsyncFileWriter(StringPiece path)
: … { … }
AsyncFileWriter::AsyncFileWriter(folly::File&& file) : … { … }
AsyncFileWriter::~AsyncFileWriter() { … }
bool AsyncFileWriter::ttyOutput() const { … }
void AsyncFileWriter::writeToFile(
const std::vector<std::string>& ioQueue, size_t numDiscarded) { … }
void AsyncFileWriter::performIO(
const std::vector<std::string>& ioQueue, size_t numDiscarded) { … }
std::string AsyncFileWriter::getNumDiscardedMsg(size_t numDiscarded) { … }
}