2 releases

0.8.1 Jan 15, 2026
0.8.0 Dec 23, 2025

#27 in #zero-copy-ipc

Download history 48/week @ 2025-12-21 383/week @ 2025-12-28 2405/week @ 2026-01-04 2159/week @ 2026-01-11 2137/week @ 2026-01-18 1754/week @ 2026-01-25 3040/week @ 2026-02-01

9,142 downloads per month
Used in 22 crates (12 directly)

MIT/Apache

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 macros
  • iceoryx2_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 have std support
  • posix - Build for platforms that have a POSIX abastraction, but no std support
  • bare_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 buffer
  • console - output log messages to the console
  • file - output log messages to the file
  • log - utilize the log crate to output log messages
  • tracing - utilize the tracing crate to output log messages

Dependencies

~0–12MB
~64K SLoC