|
Logger System 0.1.3
High-performance C++20 thread-safe logging system with asynchronous capabilities
|
Configuration for critical log writer. More...
#include <critical_writer.h>

Public Attributes | |
| bool | force_flush_on_critical = true |
| Force immediate flush for critical/fatal messages (default: true) | |
| bool | force_flush_on_error = false |
| Force immediate flush for error messages (default: false) | |
| bool | write_ahead_log = false |
| Enable write-ahead logging for maximum durability (default: false) | |
| std::string | wal_path = "logs/.wal" |
| Path for write-ahead log file (only if write_ahead_log is true) | |
| bool | sync_on_critical = true |
| Sync file descriptor after each critical write (default: true) | |
| uint32_t | critical_write_timeout_ms = 5000 |
| Timeout for critical write operations in milliseconds (0 = no timeout) | |
Configuration for critical log writer.
Definition at line 61 of file critical_writer.h.
| uint32_t kcenon::logger::critical_writer_config::critical_write_timeout_ms = 5000 |
Timeout for critical write operations in milliseconds (0 = no timeout)
Definition at line 81 of file critical_writer.h.
| bool kcenon::logger::critical_writer_config::force_flush_on_critical = true |
Force immediate flush for critical/fatal messages (default: true)
Definition at line 63 of file critical_writer.h.
| bool kcenon::logger::critical_writer_config::force_flush_on_error = false |
Force immediate flush for error messages (default: false)
Definition at line 66 of file critical_writer.h.
| bool kcenon::logger::critical_writer_config::sync_on_critical = true |
Sync file descriptor after each critical write (default: true)
Definition at line 78 of file critical_writer.h.
| std::string kcenon::logger::critical_writer_config::wal_path = "logs/.wal" |
Path for write-ahead log file (only if write_ahead_log is true)
Definition at line 75 of file critical_writer.h.
| bool kcenon::logger::critical_writer_config::write_ahead_log = false |
Enable write-ahead logging for maximum durability (default: false)
Definition at line 72 of file critical_writer.h.
Referenced by kcenon::logger::critical_writer::critical_writer().