Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What should I do if I need to use metrics and logging services in the application layer? #13

Closed
budarin opened this issue Sep 29, 2023 · 2 comments
Labels
answered The question is answered question Further information is requested

Comments

@budarin
Copy link

budarin commented Sep 29, 2023

No description provided.

@budarin budarin changed the title What should I do if I need to use metrics and logging services in the application? What should I do if I need to use metrics and logging services in the application layer? Sep 29, 2023
@bespoyasov bespoyasov added the question Further information is requested label Sep 29, 2023
@bespoyasov
Copy link
Owner

bespoyasov commented Sep 29, 2023

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.

@bespoyasov bespoyasov added the answered The question is answered label Sep 29, 2023
@budarin
Copy link
Author

budarin commented Oct 1, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answered The question is answered question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants