eclipse-iceoryx / iceoryx2

Eclipse iceoryx2™ - true zero-copy inter-process-communication in pure Rust
https://iceoryx.io
Apache License 2.0
448 stars 22 forks source link

Move `iceoryx2-bb-log` into `iceoryx2-pal` in a package beneath `iceoryx2-pal-posix` to handle log messages in the platform #154

Open elfenpiff opened 3 months ago

elfenpiff commented 3 months ago

Brief feature description

When a user integrates iceoryx2 into their framework, they will always see log messages from the platform, even when they have integrated their custom logger. The solution is to make the logger available in the platform, but we have to be careful since the iceoryx2-pal-posix crate may also provide all the logging functionality required for logging in a no_std environment.

Detailed information

This was also done in iceoryx, see issue https://github.com/eclipse-iceoryx/iceoryx/issues/1755 and pull request https://github.com/eclipse-iceoryx/iceoryx/pull/2222