|
VLink
2.3.0
A high-performance communication middleware
|
Construction-time queue, file and formatting settings. 更多...
#include <logger_backend.h>
Public 属性 | |
| std::string | app_name |
| Application name used by fixed-name rotation. 更多... | |
| std::string | log_path |
| Base directory for generated log files. 更多... | |
| size_t | max_file_size {0} |
| Rotation threshold in bytes; must be non-zero. 更多... | |
| size_t | max_files {0} |
| Timestamp retention target, or fixed-name backups excluding the active file. 更多... | |
| size_t | queue_size {0} |
| Dispatcher queue capacity; zero is clamped to one. 更多... | |
| uint32_t | flush_interval_ms {0} |
| Periodic flush interval; zero flushes each record. 更多... | |
| bool | fixed_filename {false} |
Use <app>.log plus numeric backups when true. 更多... | |
| bool | append {false} |
| Continue the active/latest file instead of starting a new file. 更多... | |
| bool | block_when_full {false} |
| When true, block all producers; Error/Fatal are always protected. 更多... | |
| bool | use_utc {false} |
| Format timestamps and filenames in UTC. 更多... | |
Construction-time queue, file and formatting settings.
| std::string vlink::LoggerBackend::Config::app_name |
Application name used by fixed-name rotation.
| bool vlink::LoggerBackend::Config::append {false} |
Continue the active/latest file instead of starting a new file.
| bool vlink::LoggerBackend::Config::block_when_full {false} |
When true, block all producers; Error/Fatal are always protected.
| bool vlink::LoggerBackend::Config::fixed_filename {false} |
Use <app>.log plus numeric backups when true.
| uint32_t vlink::LoggerBackend::Config::flush_interval_ms {0} |
Periodic flush interval; zero flushes each record.
| std::string vlink::LoggerBackend::Config::log_path |
Base directory for generated log files.
| size_t vlink::LoggerBackend::Config::max_file_size {0} |
Rotation threshold in bytes; must be non-zero.
| size_t vlink::LoggerBackend::Config::max_files {0} |
Timestamp retention target, or fixed-name backups excluding the active file.
| size_t vlink::LoggerBackend::Config::queue_size {0} |
Dispatcher queue capacity; zero is clamped to one.
| bool vlink::LoggerBackend::Config::use_utc {false} |
Format timestamps and filenames in UTC.