Logger System 0.1.3
High-performance C++20 thread-safe logging system with asynchronous capabilities
Loading...
Searching...
No Matches
high_performance_async_writer.h File Reference

High-performance asynchronous writer using lock-free queue and memory pooling. More...

#include "lockfree_queue.h"
#include "batch_processor.h"
#include "../memory/object_pool.h"
#include "../memory/log_entry_pool.h"
#include <kcenon/logger/writers/base_writer.h>
#include <kcenon/logger/interfaces/log_entry.h>
#include <kcenon/logger/core/error_codes.h>
#include <memory>
#include <thread>
#include <atomic>
#include <chrono>
#include <functional>
Include dependency graph for high_performance_async_writer.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  kcenon::logger::async::high_performance_async_writer
 High-performance asynchronous writer. More...
 
struct  kcenon::logger::async::high_performance_async_writer::config
 Configuration for the high-performance async writer. More...
 
struct  kcenon::logger::async::high_performance_async_writer::performance_stats
 Performance statistics. More...
 
struct  kcenon::logger::async::high_performance_async_writer::queued_log_entry
 Log entry optimized for high-performance queuing. More...
 

Namespaces

namespace  kcenon
 
namespace  kcenon::logger
 
namespace  kcenon::logger::async
 

Functions

std::unique_ptr< high_performance_async_writerkcenon::logger::async::make_high_performance_async_writer (log_writer_ptr writer, const high_performance_async_writer::config &cfg=high_performance_async_writer::config{})
 Factory function to create a high-performance async writer.
 

Detailed Description

High-performance asynchronous writer using lock-free queue and memory pooling.

This file provides an optimized async writer that uses lock-free queues, memory pooling, and dynamic batch processing for maximum performance.

Definition in file high_performance_async_writer.h.