Skip to content

Commit

Permalink
iox-eclipse-iceoryx#971 Adjust log strategy for hoofs
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Eltzschig <me@elchris.org>
  • Loading branch information
elfenpiff committed Apr 5, 2022
1 parent 1b5eb50 commit 1d5e2e6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion doc/design/error-handling.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,8 @@ All the methods presented (``cxx::expected``, ``Expects`` and ``Ensures`` and th

### Error handling in hoofs

Error logging is currently done by calls to ``std::cerr``. In the future those might be redirected to the logger.
Console output should be printed exclusively via the iceoryx logger with `LogDebug()`, `LogError()` etc.
Some files may still use `std::cout`/`std::cerr`/`std::clog` but this should be avoided.

The error handler cannot be used in hoofs.

Expand Down

0 comments on commit 1d5e2e6

Please sign in to comment.