![]() |
LogIt++
Header-only, macro-first C++ logging library
|
A set of macros used to configure the LogIt logging system. More...
| #define | LOGIT_BASE_PATH {} |
| Defines the base path used for log file paths. | |
| #define | LOGIT_DEFAULT_COLOR logit::TextColor::LightGray |
| Defines the default color for console output. | |
| #define | LOGIT_TASK_EXECUTOR_BLOCK_WAIT_USEC 200 |
| Defines the sleep duration (in microseconds) used by TaskExecutor when blocking producers. | |
A set of macros used to configure the LogIt logging system.
These macros control various aspects of the logging behavior, including paths, patterns, colors, timestamps, and retention policies.
| #define LOGIT_BASE_PATH {} |
Defines the base path used for log file paths.
If LOGIT_BASE_PATH is not defined or is empty ({}), the full path from __FILE__ will be used for log file paths.
Definition at line 14 of file config.hpp.
| #define LOGIT_DEFAULT_COLOR logit::TextColor::LightGray |
Defines the default color for console output.
If LOGIT_DEFAULT_COLOR is not defined, defaults to logit::TextColor::LightGray.
This macro allows setting a default console text color for log messages.
Definition at line 22 of file config.hpp.
| #define LOGIT_TASK_EXECUTOR_BLOCK_WAIT_USEC 200 |
Defines the sleep duration (in microseconds) used by TaskExecutor when blocking producers.
When QueuePolicy::Block is active, the TaskExecutor periodically waits for capacity to become available. Override this value to tweak the polling cadence in builds where the default wait is not appropriate.
Definition at line 31 of file config.hpp.