2 releases
| 0.8.1 | Jan 15, 2026 |
|---|---|
| 0.8.0 | Dec 23, 2025 |
#27 in #zero-copy-ipc
9,142 downloads per month
Used in 22 crates
(12 directly)
275KB
6K
SLoC
Concrete logger backend implementations for iceoryx2.
This crate provides logger implementations that can be registered with
iceoryx2_log using iceoryx2_log::set_logger(). Each logger is
feature-gated, allowing users to include only what they need.
Architecture
The iceoryx2 logging system is split into two crates:
iceoryx2_log: The frontend providing the logging API and macrosiceoryx2_loggers: This crate, providing selectable logger backends
This separation keeps the logging API lightweight and platform-agnostic while allowing flexible backend selection at runtime.
See iceoryx2_log for usage examples and the complete logging API.
Feature Flags
Exactly one of these three features must be selected according to your platform:
std- Build for platforms that havestdsupportposix- Build for platforms that have a POSIX abastraction, but nostdsupportbare_metal- Build for bare metal platforms
Optionally, the default logger can also be configured. If none are configured, the null logger is used and all logs are discarded:
buffer- output log messages to a bufferconsole- output log messages to the consolefile- output log messages to the filelog- utilize thelogcrate to output log messagestracing- utilize thetracingcrate to output log messages
Dependencies
~0–12MB
~64K SLoC