rcl_logging_spdlog
Implementation of rcl_logging API for an spdlog backend.
README
rcl_logging_spdlog
Package supporting an implementation of logging functionality using spdlog.
rcl_logging_spdlog logging interface implementation can:
initialize
log a message
set the logger level
shutdown
Environment Variables
RCL_LOGGING_SPDLOG_FLUSH_PERIOD_SECONDS
Controls the periodic flush interval for log files. By default, logs are flushed every 5 seconds and immediately on error-level messages.
Value |
Behavior |
|---|---|
Not set |
Default: flush every 5 seconds + on error |
|
Immediate flush on every log message (unbuffered) |
|
Flush every N seconds + on error |
RCL_LOGGING_SPDLOG_EXPERIMENTAL_OLD_FLUSHING_BEHAVIOR
When set to 1, disables all automatic flushing configuration (legacy behavior). This takes precedence over RCL_LOGGING_SPDLOG_FLUSH_PERIOD_SECONDS.
Quality Declaration
This package claims to be in the Quality Level 1 category, see the Quality Declaration for more details.