85 std::chrono::steady_clock::time_point
start_time{std::chrono::steady_clock::now()};
110 const config& cfg = config{});
127 void stop(
bool flush_remaining =
true);
153 std::string
get_name()
const override;
189 common::interfaces::log_level
level;
204 std::chrono::system_clock::time_point ts)
237 std::unique_ptr<memory::object_pool<memory::log_entry_pool::pooled_log_entry>>
memory_pool_;
Abstract base class for all log output writers kcenon.
Optimized batch processing engine for log entries.
Abstract base class for all log output writers.
bool use_color() const
Get current color output setting.
Error codes specific to the logger system.
High-performance lock-free queue implementation.
Data structures for representing log entries and source locations kcenon.
Log entry pool implementation for high-performance memory management.
std::unique_ptr< high_performance_async_writer > make_high_performance_async_writer(log_writer_ptr writer, const high_performance_async_writer::config &cfg)
Factory function to create a high-performance async writer.
std::unique_ptr< log_writer_interface > log_writer_ptr
Type alias for writer unique pointer.
Object pool implementation for high-performance memory management.
Configuration for batch processor.
size_t max_batch_size
Maximum batch size.
std::chrono::milliseconds max_wait_time
Maximum wait time.
size_t min_batch_size
Minimum batch size.
bool enable_back_pressure
Enable back-pressure handling.
size_t initial_batch_size
Initial batch size.
bool enable_dynamic_sizing
Enable dynamic batch sizing.
Log entry optimized for high-performance queuing.
std::chrono::system_clock::time_point timestamp
queued_log_entry()=default
queued_log_entry(common::interfaces::log_level lvl, std::string msg, std::string f, int l, std::string func, std::chrono::system_clock::time_point ts)
std::chrono::steady_clock::time_point enqueue_time
For latency tracking.
common::interfaces::log_level level
Represents a single log entry with all associated metadata.
Configuration for object pool.