|
Logger System 0.1.3
High-performance C++20 thread-safe logging system with asynchronous capabilities
|
Batch writer that accumulates log entries and writes them in batches. More...
#include "queued_writer_base.h"#include <kcenon/logger/logger_export.h>#include <vector>#include <chrono>

Go to the source code of this file.
Classes | |
| class | kcenon::logger::batch_writer |
| Batch writer that accumulates log entries and writes them in batches. More... | |
| struct | kcenon::logger::batch_writer::config |
| Configuration for batch writer. More... | |
| struct | kcenon::logger::batch_writer::batch_stats |
| Get batch statistics. More... | |
Namespaces | |
| namespace | kcenon |
| namespace | kcenon::logger |
Functions | |
| std::unique_ptr< batch_writer > | kcenon::logger::make_batch_writer (log_writer_ptr writer, size_t batch_size=100, std::chrono::milliseconds flush_interval=std::chrono::milliseconds{1000}) |
| Factory function to create a batch writer. | |
Batch writer that accumulates log entries and writes them in batches.
Definition in file batch_writer.h.