What should I do if I need to use metrics and logging services in the application layer?
budarin opened this issue · comments
Вадим Бударин commented
Alex Bespoyasov commented
For composing cross-cutting concerns, I'd recommend decorators.
If, for any reason, it doesn't work for you, there's always an option to just declare those services through ports and “inject” and use them as other dependencies.
Вадим Бударин commented
Alex, most issues are questions on the concept so you should add discussions to the project and convert such issues to discussions.
This will help other developers in learning and will allow you not to create repetitive questions.