TagHexagonal

Logging in an onion architecture

L

In reaction to this post I received an interesting comment from valeriu. A very nice wrap-up about onion architecture, thank you for sharing the presentation! However, there’s a something that’s bothering me. Sometimes, you may have need to interact with some infrastructure parts from the inner layers. A good example will be logging – domain service may need to log some details or exceptions. How you would approach that? To keep the right direction for dependencies (if you’re really committed...

Recent Posts