42 throw std::invalid_argument(
"no path specified for file handler");
45 File{
path_, O_WRONLY | O_APPEND | O_CREAT});
56 getType(), &writerFactory, options);
static std::shared_ptr< StandardLogHandler > createHandler(StringPiece type, WriterFactory *writerFactory, const Options &options)
—— Concurrent Priority Queue Implementation ——
bool processOption(StringPiece name, StringPiece value)
std::shared_ptr< LogWriter > createWriter() override
StringPiece getType() const override
FileWriterFactory fileWriterFactory_
std::shared_ptr< LogHandler > createHandler(const Options &options) override
uint64_t value(const typename LockFreeRingBuffer< T, Atom >::Cursor &rbcursor)
std::shared_ptr< LogWriter > createWriter(File file)
bool processOption(StringPiece name, StringPiece value) override
std::unordered_map< std::string, std::string > Options