20 if ((_buffer.size() + 1) > _limit)
21 ProcessBufferedRecords();
24 _buffer.emplace_back(std::move(record));
30void BufferedProcessor::ProcessBufferedRecords()
33 for (
auto& record : _buffer)
47 ProcessBufferedRecords();
Buffered logging processor definition.
bool ProcessRecord(Record &record) override
Process the given logging record through all child filters, layouts and appenders.
void Flush() override
Flush the current logging processor.
Logging processor interface.
bool IsStarted() const noexcept override
Is the logging processor started?
virtual void Flush()
Flush the current logging processor.
C++ Logging project definitions.